-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainerfile
More file actions
25 lines (19 loc) · 851 Bytes
/
Copy pathContainerfile
File metadata and controls
25 lines (19 loc) · 851 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
ARG UBUNTU_VERSION=22.04
ARG PCOIP_VERSION=23.06.2
FROM quay.io/toolbx-images/ubuntu-toolbox:${UBUNTU_VERSION}
# ARGS go out of scope for new build stage so need redefining (default values persist however)
ARG PCOIP_VERSION
ARG UBUNTU_VERSION
COPY dependencies /tmp/
RUN echo "install dependencies" && \
apt-get update && apt-get upgrade -y && \
cat /tmp/dependencies | xargs apt-get install --no-install-recommends -y && \
echo "done"
RUN echo "install pcoip-client" && \
curl -1sLf https://dl.anyware.hp.com/DeAdBCiUYInHcSTy/pcoip-client/cfg/setup/bash.deb.sh | sudo -E distro=ubuntu version=${UBUNTU_VERSION} bash && \
apt-get update && \
apt-get install -y pcoip-client=${PCOIP_VERSION}-${UBUNTU_VERSION} && \
echo "done"
RUN echo "clean up" && \
rm -rf /var/cache/apt /tmp && \
echo "done"