mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-22 10:06:09 +00:00
Alpine 317 (#3888)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:33063834cf72d563cd8703467836aaa2f2b5a300 AS mirror
|
||||
FROM linuxkit/alpine:316c3f9d85c21fdd8bc7479e81d290f85bf60eb0 AS mirror
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
alpine-baselayout \
|
||||
@@ -8,7 +8,7 @@ RUN apk add --no-cache --initdb -p /out \
|
||||
musl
|
||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||
|
||||
FROM linuxkit/alpine:33063834cf72d563cd8703467836aaa2f2b5a300 AS build
|
||||
FROM linuxkit/alpine:316c3f9d85c21fdd8bc7479e81d290f85bf60eb0 AS build
|
||||
RUN apk add --no-cache \
|
||||
build-base \
|
||||
git \
|
||||
|
@@ -3,16 +3,16 @@ kernel:
|
||||
image: linuxkit/kernel:5.10.104
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8f1e6a0747acbbb4d7e24dc98f97faa8d1c6cec7
|
||||
- linuxkit/runc:f01b88c7033180d50ae43562d72707c6881904e4
|
||||
- linuxkit/init:14df799bb3b9e0eb0491da9fda7f32a108a2e2a5
|
||||
- linuxkit/runc:436357ce16dd663e24f595bcec26d5ae476c998e
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:07a17973bb80d30d5924a440a33bfaaf475500ca
|
||||
image: linuxkit/test-ns:bd163e189ce4985a798aa422c5509ef44e031756
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "mix-unix"]
|
||||
# command: ["/bin/sh", "/runc-net.sh", "-l", "5", "-i", "2", "-c", "5", "-p", "unix", "-ip", "6"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
options: ["rw"]
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:39d99e5909b6f8faccedc78d6d2646cdb6c9ed9c
|
||||
image: linuxkit/poweroff:992d9c7531166fe071d945e8b2728d8b61eb8d5a
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
|
Reference in New Issue
Block a user