Skip to content

Commit

Permalink
Use pinned version and default to cgroups for 1.24+
Browse files Browse the repository at this point in the history
Signed-off-by: James Sturtevant <[email protected]>
  • Loading branch information
jsturtevant committed Oct 19, 2023
1 parent fd1c591 commit 869b92e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/k8s/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.4

ARG KIND_VERSION=v0.20.0
ARG KIND_NODE_VERSION=v1.27.3
ARG KIND_NODE_VERSION=v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
ARG RUNTIME=wasmtime

FROM scratch AS kind
Expand All @@ -15,8 +15,7 @@ RUN apt-get update -y && \
ADD dist/bin/* /usr/local/bin/

ARG RUNTIME
RUN sed -i 's,SystemdCgroup = true,,' /etc/containerd/config.toml && \
cat <<EOF >> /etc/containerd/config.toml
RUN cat <<EOF >> /etc/containerd/config.toml
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.wasm]
runtime_type = "io.containerd.${RUNTIME}.v1"
EOF

0 comments on commit 869b92e

Please sign in to comment.