forked from linuxserver/docker-msedge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
42 lines (36 loc) · 1.19 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
FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm
# set version label
ARG BUILD_DATE
ARG BRAVE_VERSION
ARG VERSION
LABEL maintainer="nobodywatchin"
# title
ENV TITLE=Brave
RUN \
echo "**** add icon ****" && \
curl -o \
/kclient/public/icon.png \
https://upload.wikimedia.org/wikipedia/commons/c/c4/Brave_lion.png && \
apt-get update && \
echo "**** install dependencies ****" && \
apt install --no-install-recommends -y curl gnupg && \
echo "**** add Brave repository ****" && \
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg \
https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg && \
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" \
| tee /etc/apt/sources.list.d/brave-browser-release.list && \
apt-get update && \
echo "**** install Brave ****" && \
apt install --no-install-recommends -y brave-browser && \
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