Rebase to debian as Alpine chromium is currently not working inside docker

This commit is contained in:
thelamer
2023-12-29 13:44:35 -08:00
parent 4d75cd1f75
commit d283bec006
6 changed files with 18 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-kasmvnc:alpine318
FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm
# set version label
ARG BUILD_DATE
@@ -11,10 +11,15 @@ ENV TITLE=Chromium
RUN \
echo "**** install packages ****" && \
apk add --no-cache \
apt-get update && \
apt-get install -y --no-install-recommends \
chromium && \
echo "**** cleanup ****" && \
apt-get autoclean && \
rm -rf \
/config/.cache \
/var/lib/apt/lists/* \
/var/tmp/* \
/tmp/*
# add local files

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-kasmvnc:arm64v8-alpine318
FROM ghcr.io/linuxserver/baseimage-kasmvnc:arm64v8-debianbookworm
# set version label
ARG BUILD_DATE
@@ -11,10 +11,15 @@ ENV TITLE=Chromium
RUN \
echo "**** install packages ****" && \
apk add --no-cache \
apt-get update && \
apt-get install -y --no-install-recommends \
chromium && \
echo "**** cleanup ****" && \
apt-get autoclean && \
rm -rf \
/config/.cache \
/var/lib/apt/lists/* \
/var/tmp/* \
/tmp/*
# add local files

View File

@@ -329,6 +329,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **13.05.23:** - Rebase to Debian Bookworm.
* **13.05.23:** - Rebase to Alpine 3.18.
* **01.04.23:** - Preserve arguments passed to Chromium and restructure to use wrapper.
* **18.03.23:** - Initial release.

View File

@@ -76,6 +76,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "13.05.23:", desc: "Rebase to Debian Bookworm." }
- { date: "13.05.23:", desc: "Rebase to Alpine 3.18." }
- { date: "01.04.23:", desc: "Preserve arguments passed to Chromium and restructure to use wrapper." }
- { date: "18.03.23:", desc: "Initial release." }

View File

@@ -1,2 +1,2 @@
#!/bin/bash
chromium-browser ${CHROME_CLI}
wrapped-chromium ${CHROME_CLI}

View File

@@ -1,6 +1,6 @@
#!/bin/bash
BIN=/usr/lib/chromium/chromium-launcher.sh
BIN=/usr/bin/chromium
# Run normally on privved containers or modified un non priv
if grep -q 'Seccomp:\t0' /proc/1/status; then