File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
ARG ALPINE_VERSION=latest
2
2
ARG BINFMT_IMAGE=tonistiigi/binfmt:latest
3
3
4
- FROM ${BINFMT_IMAGE} as binfmt
4
+ FROM ${BINFMT_IMAGE} AS binfmt
5
5
6
6
FROM alpine:${ALPINE_VERSION}
7
7
RUN apk add alpine-sdk build-base apk-tools alpine-conf busybox \
Original file line number Diff line number Diff line change 48
48
mkdir -p " $tmp " /etc/apk
49
49
makefile root:root 0644 " $tmp " /etc/apk/world << EOF
50
50
alpine-base
51
+ iproute2
51
52
openssh-server-pam
52
53
EOF
53
54
@@ -208,6 +209,10 @@ if [ "${LIMA_INSTALL_GIT}" == "true" ]; then
208
209
echo " git" >> " $tmp " /etc/apk/world
209
210
fi
210
211
212
+ if [ " ${LIMA_INSTALL_IPTABLES} " == " true" ]; then
213
+ echo " iptables ip6tables" >> " $tmp " /etc/apk/world
214
+ fi
215
+
211
216
if [ " ${LIMA_INSTALL_K3S} " == " true" ]; then
212
217
echo " k3s" >> " $tmp " /etc/apk/world
213
218
rc_add k3s default
@@ -217,10 +222,6 @@ if [ "${LIMA_INSTALL_LOGROTATE}" == "true" ]; then
217
222
echo " logrotate" >> " $tmp " /etc/apk/world
218
223
fi
219
224
220
- if [ " ${LIMA_INSTALL_IPTABLES} " == " true" ]; then
221
- echo " iptables ip6tables" >> " $tmp " /etc/apk/world
222
- fi
223
-
224
225
if [ " ${LIMA_INSTALL_OPENSSH_SFTP_SERVER} " == " true" ]; then
225
226
echo " openssh-sftp-server" >> " $tmp " /etc/apk/world
226
227
fi
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ profile_lima() {
13
13
kernel_cmdline=" console=hvc0 console=tty0 console=ttyS0,115200"
14
14
syslinux_serial=" 0 115200"
15
15
apkovl=" genapkovl-lima.sh"
16
- apks=" $apks openssh-server-pam tiny-cloud-nocloud"
16
+ apks=" $apks iproute2 openssh-server-pam tiny-cloud-nocloud"
17
17
if [ " ${LIMA_INSTALL_CA_CERTIFICATES} " == " true" ]; then
18
18
apks=" $apks ca-certificates"
19
19
fi
You can’t perform that action at this time.
0 commit comments