-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
30 lines (22 loc) · 895 Bytes
/
Dockerfile
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
30
FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm
ARG TARGETPLATFORM
ARG TARGETARCH
ARG TARGETVARIANT
ARG OSCAR_VERSION=1.6.0
RUN printf '%s' "Building for TARGETPLATFORM=${TARGETPLATFORM}" \
&& printf '%s' ", TARGETARCH=${TARGETARCH}" \
&& printf '%s' ", TARGETVARIANT=${TARGETVARIANT} \n"
RUN apt-get update -y && \
apt-get install -y --no-install-recommends wget cron
RUN if [ "${TARGETARCH}" = "arm64" ]; then \
wget -q -O /tmp/oscar.deb https://www.apneaboard.com/OSCAR/${OSCAR_VERSION}/oscar_${OSCAR_VERSION}-RasPiOS-12_arm64.deb; \
else \
wget -q -O /tmp/oscar.deb https://www.apneaboard.com/OSCAR/${OSCAR_VERSION}/oscar_${OSCAR_VERSION}-Debian12_amd64.deb; \
fi
RUN apt install -y /tmp/oscar.deb && \
rm /tmp/oscar.deb && \
rm -rf /var/lib/apt/lists
#RUN apk add --no-cache firefox
COPY /root /
# ports and volumes
EXPOSE 3000