docker-chrome/Dockerfile
2025-06-12 18:38:22 -04:00

42 lines
1.0 KiB
Docker

FROM ghcr.io/linuxserver/baseimage-selkies:debianbookworm
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"
# title
ENV TITLE=Chrome
RUN \
echo "**** add icon ****" && \
curl -o \
/usr/share/selkies/www/icon.png \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/chrome-logo.png && \
echo "**** setup repo ****" && \
curl -sL \
https://dl.google.com/linux/linux_signing_key.pub \
| apt-key add - && \
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> \
/etc/apt/sources.list.d/google.list && \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
google-chrome-stable && \
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