Skip to content

Commit

Permalink
Update Containerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkmmr69420 authored Mar 30, 2024
1 parent 0442146 commit 2e75afb
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions Containerfile
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

0 comments on commit 2e75afb

Please sign in to comment.