Skip to content

Commit

Permalink
add sid av base
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Apr 13, 2024
1 parent 87b3122 commit 809ba00
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-on-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: alpine-edge-av
- name: debian-bookworm-core
- name: debian-bookworm-av
- name: debian-sid-av
build:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
Expand Down
39 changes: 39 additions & 0 deletions base-images/Dockerfile.debian-sid-av
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
FROM debian:sid-slim as rootfs

ARG REPO

# Install packages
RUN \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
curl \
dbus-x11 \
desktop-file-utils \
fonts-noto \
mesa-va-drivers \
netcat-openbsd \
pulseaudio \
xserver-xorg-video-amdgpu \
xserver-xorg-video-ati \
$(if [ $(uname -m) == "x86_64" ];then echo "xserver-xorg-video-intel";fi) && \
echo "**** setup xdg-open tunnel ****" && \
mkdir -p /usr/share/applications && \
curl -o \
/usr/share/applications/xdg-open.desktop -L \
"https://raw.githubusercontent.com/${REPO}/bins/xdg-open/xdg-open.desktop" && \
curl -o \
/usr/bin/xdg-open -L \
"https://raw.githubusercontent.com/${REPO}/bins/xdg-open/xdg-open" && \
chmod +x /usr/bin/xdg-open && \
update-desktop-database && \
echo "**** cleanup ****" && \
apt-get remove -y \
desktop-file-utils && \
apt-get autoclean && \
rm -rf \
/root/.cache \
/var/lib/apt/lists/* \
/var/tmp/* \
/tmp/*

0 comments on commit 809ba00

Please sign in to comment.