-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainerfile
More file actions
29 lines (23 loc) · 880 Bytes
/
Containerfile
File metadata and controls
29 lines (23 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM ubuntu:24.04
ARG OPENVOX_RELEASE=8
ARG OPENVOX_USER_UID=999
ARG OPENVOX_USER_GID=999
ARG UBUNTU_VERSION=24.04
ARG OPENVOXAGENT_VERSION=8.11.0-1+ubuntu${UBUNTU_VERSION}
ARG OPENVOX_RELEASE_PACKAGE=openvox${OPENVOX_RELEASE}-release-ubuntu${UBUNTU_VERSION}.deb
ADD https://apt.overlookinfratech.com/${OPENVOX_RELEASE_PACKAGE} /
RUN apt-get update && \
apt-get install -y ca-certificates /${OPENVOX_RELEASE_PACKAGE} && \
rm /${OPENVOX_RELEASE_PACKAGE}
RUN groupadd -g ${OPENVOX_USER_GID} puppet && \
useradd -m -u ${OPENVOX_USER_UID} -g puppet puppet && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y openvox-agent=${OPENVOXAGENT_VERSION} && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY Containerfile /
WORKDIR /data
ENTRYPOINT [ "/opt/puppetlabs/bin/puppet" ]
CMD [ "agent", "-h" ]