Skip to content

Commit

Permalink
feat: install base configs via rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
bobslept committed Sep 9, 2023
1 parent 0ee9d18 commit e21ccb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS framework
ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-silverblue}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}"

COPY usr /usr
COPY --from=ghcr.io/bobslept/config-framework:latest /rpms /tmp/rpms
COPY framework-install.sh /tmp/framework-install.sh
COPY framework-packages.json /tmp/framework-packages.json

RUN rpm-ostree install /tmp/rpms/*.rpm

RUN /tmp/framework-install.sh && \
systemctl enable tlp && \
systemctl enable fprintd && \
Expand Down

0 comments on commit e21ccb9

Please sign in to comment.