Skip to content

Commit 2ed7aab

Browse files
committed
Add docker engine to RD edition
Signed-off-by: Jan Dubois <[email protected]>
1 parent 861da8b commit 2ed7aab

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

edition/min

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export LIMA_INSTALL_BINFMT_MISC=false
22
export LIMA_INSTALL_CA_CERTIFICATES=false
33
export LIMA_INSTALL_CLOUD_INIT=false
4+
export LIMA_INSTALL_DOCKER=false
45
export LIMA_INSTALL_K3S=false
56
export LIMA_INSTALL_IPTABLES=false
67
export LIMA_INSTALL_LIMA_INIT=false

edition/rd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
source edition/min
22
LIMA_INSTALL_BINFMT_MISC=true
33
LIMA_INSTALL_CA_CERTIFICATES=true
4+
LIMA_INSTALL_DOCKER=true
45
LIMA_INSTALL_IPTABLES=true
56
LIMA_INSTALL_LIMA_INIT=true
67
LIMA_INSTALL_LOGROTATE=true

genapkovl-lima.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,18 @@ datasource_list: [ NoCloud, None ]
146146
EOF
147147
fi
148148

149+
if [ "${LIMA_INSTALL_DOCKER}" == "true" ]; then
150+
echo libseccomp >> "$tmp"/etc/apk/world
151+
echo runc >> "$tmp"/etc/apk/world
152+
echo containerd >> "$tmp"/etc/apk/world
153+
echo tini-static >> "$tmp"/etc/apk/world
154+
echo device-mapper-libs >> "$tmp"/etc/apk/world
155+
echo docker-engine >> "$tmp"/etc/apk/world
156+
echo docker-openrc >> "$tmp"/etc/apk/world
157+
echo docker-cli >> "$tmp"/etc/apk/world
158+
echo docker >> "$tmp"/etc/apk/world
159+
fi
160+
149161
if [ "${LIMA_INSTALL_BINFMT_MISC}" == "true" ]; then
150162
echo "qemu-aarch64" >> "$tmp"/etc/apk/world
151163

mkimg.lima.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ profile_lima() {
2020
if [ "${LIMA_INSTALL_CLOUD_INIT}" == "true" ]; then
2121
apks="$apks cloud-init"
2222
fi
23+
if [ "${LIMA_INSTALL_DOCKER}" == "true" ]; then
24+
apks="$apks libseccomp runc containerd tini-static device-mapper-libs"
25+
apks="$apks docker-engine docker-openrc docker-cli docker"
26+
fi
2327
if [ "${LIMA_INSTALL_LIMA_INIT}" == "true" ]; then
2428
apks="$apks e2fsprogs lsblk sfdisk shadow sudo udev"
2529
fi

0 commit comments

Comments
 (0)