Skip to content

Commit 56a04bc

Browse files
authored
Merge pull request #138 from jandubois/iproute2
Add iproute2 package for JSON output from `ip -j a`
2 parents 36ea08e + 79153fe commit 56a04bc

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
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: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ EOF
4848
mkdir -p "$tmp"/etc/apk
4949
makefile root:root 0644 "$tmp"/etc/apk/world <<EOF
5050
alpine-base
51+
iproute2
5152
openssh-server-pam
5253
EOF
5354

@@ -208,6 +209,10 @@ if [ "${LIMA_INSTALL_GIT}" == "true" ]; then
208209
echo "git" >> "$tmp"/etc/apk/world
209210
fi
210211

212+
if [ "${LIMA_INSTALL_IPTABLES}" == "true" ]; then
213+
echo "iptables ip6tables" >> "$tmp"/etc/apk/world
214+
fi
215+
211216
if [ "${LIMA_INSTALL_K3S}" == "true" ]; then
212217
echo "k3s" >> "$tmp"/etc/apk/world
213218
rc_add k3s default
@@ -217,10 +222,6 @@ if [ "${LIMA_INSTALL_LOGROTATE}" == "true" ]; then
217222
echo "logrotate" >> "$tmp"/etc/apk/world
218223
fi
219224

220-
if [ "${LIMA_INSTALL_IPTABLES}" == "true" ]; then
221-
echo "iptables ip6tables" >> "$tmp"/etc/apk/world
222-
fi
223-
224225
if [ "${LIMA_INSTALL_OPENSSH_SFTP_SERVER}" == "true" ]; then
225226
echo "openssh-sftp-server" >> "$tmp"/etc/apk/world
226227
fi

mkimg.lima.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ profile_lima() {
1313
kernel_cmdline="console=hvc0 console=tty0 console=ttyS0,115200"
1414
syslinux_serial="0 115200"
1515
apkovl="genapkovl-lima.sh"
16-
apks="$apks openssh-server-pam tiny-cloud-nocloud"
16+
apks="$apks iproute2 openssh-server-pam tiny-cloud-nocloud"
1717
if [ "${LIMA_INSTALL_CA_CERTIFICATES}" == "true" ]; then
1818
apks="$apks ca-certificates"
1919
fi

0 commit comments

Comments
 (0)