| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:52c0e467fa2e92f101018df01a0ff56580c752b7553fbe6df88e16b02af6d4ee in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c sed -E -i -e 's/(archive|ports).ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' -e '/security.ubuntu.com/d' /etc/apt/sources.list && apt-get update && apt-get install -y --no-install-recommends libgomp1 && rm -rf /var/lib/apt/lists/* && rm -rf /root/.cache/ # buildkit |
| LABEL maintainer=SafeLine-CE |
| RUN /bin/sh -c apt-get update && apt-get install -y libjemalloc-dev # buildkit |
| COPY /work/fvm /app/fvm # buildkit |
| COPY assets/config.yml /app/config.yml # buildkit |
| COPY assets/libfusion2.so /usr/lib/libfusion.so # buildkit |
| ENV MAX_WORKER_NUM=auto |
| ENV FVM_STREAM=false |
| ENV MALLOC_CONF=background_thread:true |
| WORKDIR /app |
| CMD ["/app/fvm" "/app/config.yml"] |