Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
base: fix config layer
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed Jan 25, 2024
1 parent 88707eb commit 2beebc2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions base/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ ARG BASE_IMAGE="quay.io/fedora-ostree-desktops/${IMAGE_FLAVOR}"
ARG FEDORA_VERSION="${FEDORA_VERSION:-39}"

FROM ${BASE_IMAGE}:${FEDORA_VERSION}
ARG FEDORA_VERSION="${FEDORA_VERSION:-39}"


COPY initial_setup.sh /usr/bin/
COPY packages.yaml /tmp/
Expand Down Expand Up @@ -61,7 +59,7 @@ RUN readarray -td '' pkgs < <(/tmp/yq '.install[]' /tmp/packages.yaml) && \
# enable automatic updates
RUN sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf

# bring in config layer
# install container policy
COPY --from=ghcr.io/getchoo/config:${FEDORA_VERSION} /rpms /tmp/config
RUN rpm-ostree install /tmp/config/container-policy/getchoo-container-policy*.rpm

Expand Down

0 comments on commit 2beebc2

Please sign in to comment.