Skip to content

Commit 79153fe

Browse files
committed
Minor refactoring
Signed-off-by: Jan Dubois <[email protected]>
1 parent a895887 commit 79153fe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG ALPINE_VERSION=latest
22
ARG BINFMT_IMAGE=tonistiigi/binfmt:latest
33

4-
FROM ${BINFMT_IMAGE} as binfmt
4+
FROM ${BINFMT_IMAGE} AS binfmt
55

66
FROM alpine:${ALPINE_VERSION}
77
RUN apk add alpine-sdk build-base apk-tools alpine-conf busybox \

genapkovl-lima.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ if [ "${LIMA_INSTALL_GIT}" == "true" ]; then
209209
echo "git" >> "$tmp"/etc/apk/world
210210
fi
211211

212+
if [ "${LIMA_INSTALL_IPTABLES}" == "true" ]; then
213+
echo "iptables ip6tables" >> "$tmp"/etc/apk/world
214+
fi
215+
212216
if [ "${LIMA_INSTALL_K3S}" == "true" ]; then
213217
echo "k3s" >> "$tmp"/etc/apk/world
214218
rc_add k3s default
@@ -218,10 +222,6 @@ if [ "${LIMA_INSTALL_LOGROTATE}" == "true" ]; then
218222
echo "logrotate" >> "$tmp"/etc/apk/world
219223
fi
220224

221-
if [ "${LIMA_INSTALL_IPTABLES}" == "true" ]; then
222-
echo "iptables ip6tables" >> "$tmp"/etc/apk/world
223-
fi
224-
225225
if [ "${LIMA_INSTALL_OPENSSH_SFTP_SERVER}" == "true" ]; then
226226
echo "openssh-sftp-server" >> "$tmp"/etc/apk/world
227227
fi

0 commit comments

Comments
 (0)