-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
46 lines (40 loc) · 1.41 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm
# set labels
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version: ${VERSION} Build-date: ${BUILD_DATE}"
LABEL maintainer="tibor309"
LABEL org.opencontainers.image.description="Web accessible google chrome browser."
LABEL org.opencontainers.image.source=https://github.com/tibor309/chrome
LABEL org.opencontainers.image.url=https://github.com/tibor309/chrome/packages
LABEL org.opencontainers.image.licenses=GPL-3.0
# environment settings
ARG DEBIAN_FRONTEND="noninteractive"
ENV TITLE="Google Chrome"
RUN \
echo "**** add icon ****" && \
curl -o \
/kclient/public/icon.png \
https://raw.githubusercontent.com/tibor309/icons/main/icons/chrome/chrome_logo_256x256.png && \
curl -o \
/kclient/public/favicon.ico \
https://raw.githubusercontent.com/tibor309/icons/main/icons/chrome/chrome_icon_32x32.ico && \
echo "**** install packages ****" && \
curl -o \
/tmp/google-chrome-stable_current_amd64.deb \
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
apt-get update && \
apt-get install -y --no-install-recommends \
/tmp/google-chrome-stable_current_amd64.deb && \
echo "**** cleanup ****" && \
apt-get autoclean && \
rm -rf \
/config/.cache \
/var/lib/apt/lists/* \
/var/tmp/* \
/tmp/*
# add local files
COPY /root /
# ports and volumes
EXPOSE 3000
VOLUME /config