Add opt mount in nsjail

This commit is contained in:
wendrul
2024-12-12 16:02:41 +01:00
parent 8a6a879948
commit a3fad2cdcf
3 changed files with 10 additions and 4 deletions

View File

@@ -42,6 +42,12 @@ mount {
is_bind: true
}
mount {
src: "/opt/dotnet-sdk/bin"
dst: "/opt/dotnet-sdk/bin"
is_bind: true
}
mount {
src: "/dev/null"
dst: "/dev/null"

View File

@@ -3,7 +3,7 @@ FROM ghcr.io/windmill-labs/windmill:dev
COPY --from=rust:1.80.1 /usr/local/cargo /usr/local/cargo
COPY --from=rust:1.80.1 /usr/local/rustup /usr/local/rustup
RUN pip3 install ansible
COPY --from=bitnami/dotnet-sdk:9.0.101-debian-12-r0 /opt/bitnami/dotnet-sdk /opt/dotnet-sdk
RUN ln -s /opt/dotnet-sdk/bin/dotnet /usr/bin/dotnet
RUN pip3 install ansible

View File

@@ -3,7 +3,7 @@ FROM ghcr.io/windmill-labs/windmill-ee:dev
COPY --from=rust:1.80.1 /usr/local/cargo /usr/local/cargo
COPY --from=rust:1.80.1 /usr/local/rustup /usr/local/rustup
RUN pip3 install ansible
COPY --from=bitnami/dotnet-sdk:9.0.101-debian-12-r0 /opt/bitnami/dotnet-sdk /opt/dotnet-sdk
RUN ln -s /opt/dotnet-sdk/bin/dotnet /usr/bin/dotnet
RUN pip3 install ansible