Skip to content

Commit d121a23

Browse files
authored
Finally fix fcos image build (#203)
Use dnf
1 parent 94cb64c commit d121a23

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,5 @@ jobs:
333333
tags: ${{ steps.meta.outputs.tags }}
334334
labels: ${{ steps.meta.outputs.labels }}
335335
file: ./images/fcos-skate/ContainerFile
336-
cache-from: type=gha
337-
cache-to: type=gha,mode=max
338336
platforms: linux/amd64,linux/arm64
339337

images/fcos-skate/ContainerFile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ FROM quay.io/fedora/fedora-coreos:stable
22

33
ARG VERSION
44

5-
RUN rpm-ostree install \
5+
RUN echo "Running rpm install" && \
6+
dnf install -y \
67
rsyslog \
78
wget \
89
keepalived && \
910
# set registry short name mode to permissive
1011
sed -i 's|^[\#]\?short-name-mode\s\?=.*|short-name-mode=\"permissive\"|g' /etc/containers/registries.conf && \
11-
curl -sL https://raw.githubusercontent.com/skateco/skate/refs/heads/main/hack/install-skatelet.sh | INSTALL_PATH=/usr/sbin VERSION=$VERSION bash && \
12+
wget -O /tmp/install-skatelet.sh https://raw.githubusercontent.com/skateco/skate/refs/heads/main/hack/install-skatelet.sh && \
13+
INSTALL_PATH=/usr/sbin VERSION=$VERSION bash /tmp/install-skatelet.sh && \
1214
ostree container commit

0 commit comments

Comments
 (0)