generated from ublue-os/boxkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0442146
commit 2e75afb
Showing
1 changed file
with
7 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
FROM quay.io/toolbx-images/alpine-toolbox:edge | ||
FROM ghcr.io/ublue-os/arch-distrobox:latest | ||
|
||
LABEL com.github.containers.toolbox="true" \ | ||
usage="This image is meant to be used with the toolbox or distrobox command" \ | ||
summary="A cloud-native terminal experience" \ | ||
maintainer="[email protected]" | ||
summary="CUPS in distrobox" \ | ||
maintainer="dnkmmr" | ||
|
||
COPY extra-packages / | ||
RUN apk update && \ | ||
apk upgrade && \ | ||
grep -v '^#' /extra-packages | xargs apk add | ||
RUN rm /extra-packages | ||
RUN pacman -Syu --noconfirm | ||
|
||
RUN ln -fs /bin/sh /usr/bin/sh && \ | ||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \ | ||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \ | ||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/podman && \ | ||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree && \ | ||
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/transactional-update | ||
|
||
RUN pacman -S systemd --noconfirm | ||
|
||
RUN pacman -S cups print-manager system-config-printer nss-mdns ghostscript --noconfirm |