Skip to content

Commit

Permalink
Merge pull request #8 from cgwalters/minor-cleanup
Browse files Browse the repository at this point in the history
build: Move var workarounds into build.sh
  • Loading branch information
castrojo authored Dec 18, 2024
2 parents 45b1638 + 11baa13 commit 3e3df0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ ARG MAJOR_VERSION="${MAJOR_VERSION:-stream10}"

FROM quay.io/centos-bootc/centos-bootc:$MAJOR_VERSION

# See https://github.com/centos-workstation/achillobator/issues/3
RUN mkdir -p /var/roothome

# Total hack to see if we can fix the /var/run symlink
RUN ln -sf /run /var/run

#Install codecs, Workstation, EPEL, CRB, etc.
COPY build.sh /tmp/build.sh
RUN chmod +x /tmp/build.sh &&\
Expand Down
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

set -euox pipefail

# See https://github.com/centos-workstation/achillobator/issues/3
mkdir -m 0700 -p /var/roothome
# Fast track https://gitlab.com/fedora/bootc/base-images/-/merge_requests/71
ln -sf /run /var/run

dnf config-manager --set-enabled crb
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm

Expand Down

0 comments on commit 3e3df0e

Please sign in to comment.