11# checkov:skip=CKV_DOCKER_2:Ensure that HEALTHCHECK instructions have been added to container images
22ARG version
33
4- FROM ubuntu:22.04 as builder
4+ FROM wasmedge/wasmedge as builder
55
66SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
77RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
88 apt-get install -y --no-install-recommends \
9- ca-certificates=20211016 \
10- curl=7.81.0-1ubuntu1.20 \
11- make=4.3-4.1build1 \
12- git=1:2.34.1-1ubuntu1.15 \
13- gcc=4:11.2.0-1ubuntu1 \
14- build-essential=12.9ubuntu3 \
15- pkgconf=1.8.0-1 \
16- libtool=2.4.6-15build2 \
17- libsystemd-dev=249.11-0ubuntu3.16 \
18- libprotobuf-c-dev=1.3.3-1ubuntu2.1 \
19- libcap-dev=1:2.44-1ubuntu0.22.04.2 \
20- libseccomp-dev=2.5.3-2ubuntu3~22.04.1 \
21- libyajl-dev=2.1.0-3ubuntu0.22.04.1 \
22- go-md2man=2.0.1+ds1-1 \
23- autoconf=2.71-2 \
24- python3=3.10.6-1~22.04.1 \
25- automake=1:1.16.5-1.3 && \
9+ pkgconf=1.8.1-2build1 \
10+ autoconf=2.71-3 \
11+ libtool=2.4.7-7build1 \
12+ libyajl-dev=2.1.0-5build1 \
13+ libcap-dev=1:2.66-5ubuntu2.2 \
14+ libseccomp-dev=2.5.5-1ubuntu3.1 \
15+ libsystemd-dev=255.4-1ubuntu8.10 \
16+ automake=1:1.16.5-1.3ubuntu1 && \
2617 apt-get clean -y && \
2718 rm -rf \
2819 /var/cache/debconf/* \
@@ -35,12 +26,12 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
3526 /usr/share/man/* \
3627 /usr/share/local/*
3728
38- RUN curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --path=/usr/local/ --version=0.14.1 \
29+ RUN curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- --path=/usr/local/ --version=0.15.0 \
3930 && git clone https://github.com/containers/crun /opt/crun
4031
4132# build crun with --with-wasmedge flag (https://wasmedge.org/docs/develop/deploy/oci-runtime/crun/)
4233WORKDIR /opt/crun
43- RUN git checkout tags/1.22 -b wasm \
34+ RUN git checkout tags/1.24 -b wasm \
4435 && ./autogen.sh \
4536 && ./configure --with-wasmedge --enable-embedded-yajl \
4637 && make
0 commit comments