-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Ubuntu 22.04 to a separate dockerfile
- Loading branch information
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
ARG base_image=ubuntu-22.04 | ||
|
||
FROM docker.io/library/ubuntu:22.04@sha256:58b87898e82351c6cf9cf5b9f3c20257bb9e2dcf33af051e12ce532d7f94e3fe AS ubuntu-22.04 | ||
|
||
FROM ${base_image} | ||
|
||
RUN apt-get update -y && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
gnome-session \ | ||
gjs \ | ||
dbus-user-session \ | ||
gdm3 \ | ||
gir1.2-vte-2.91 \ | ||
xvfb \ | ||
packagekit \ | ||
gir1.2-packagekitglib-1.0 \ | ||
wl-clipboard \ | ||
gir1.2-handy-1 | ||
|
||
COPY data / | ||
|
||
RUN systemctl set-default multi-user.target && \ | ||
systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \ | ||
truncate --size 0 /etc/machine-id | ||
|
||
CMD [ "/sbin/init" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters