Skip to content

Commit

Permalink
add noble base image
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Jul 24, 2024
1 parent 6154586 commit 57504eb
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 5 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 @@ -33,6 +33,7 @@ jobs:
- name: debian-bookworm
- name: debian-sid
- name: ubuntu-jammy
- name: ubuntu-noble
meta:
name: Ingest Metadata
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion base-images/Dockerfile.alpine-320
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.20 as rootfs
FROM alpine:3.20 AS rootfs

ARG REPO

Expand Down
2 changes: 1 addition & 1 deletion base-images/Dockerfile.alpine-edge
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:edge as rootfs
FROM alpine:edge AS rootfs

ARG REPO

Expand Down
2 changes: 1 addition & 1 deletion base-images/Dockerfile.debian-bookworm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bookworm-slim as rootfs
FROM debian:bookworm-slim AS rootfs

ARG REPO

Expand Down
2 changes: 1 addition & 1 deletion base-images/Dockerfile.debian-sid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:sid-slim as rootfs
FROM debian:sid-slim AS rootfs

ARG REPO

Expand Down
2 changes: 1 addition & 1 deletion base-images/Dockerfile.ubuntu-jammy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:jammy as rootfs
FROM ubuntu:jammy AS rootfs

ARG REPO

Expand Down
49 changes: 49 additions & 0 deletions base-images/Dockerfile.ubuntu-noble
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
FROM ubuntu:noble 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 \
libvulkan1 \
mesa-va-drivers \
mesa-vulkan-drivers \
netcat-openbsd \
pulseaudio \
xdg-utils \
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/* && \
echo "**** wrap dpkg for user installs ****" && \
mv \
/usr/bin/dpkg \
/usr/bin/dpkg-real

# add local files
COPY /debian-root /

0 comments on commit 57504eb

Please sign in to comment.