2022-01-31 05:01:28 +01:00
|
|
|
# This "FROM" image is previously emitted by nix
|
|
|
|
FROM ghcr.io/engineer-man/piston:base-latest
|
|
|
|
|
2022-02-10 14:28:17 +01:00
|
|
|
ENV PISTON_FLAKE_PATH=/piston/src
|
|
|
|
COPY runtimes/ /piston/src/runtimes
|
|
|
|
COPY flake.nix flake.lock /piston/src/
|
2022-01-31 05:01:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
ARG RUNTIMESET=all
|
|
|
|
ENV PISTON_RUNTIME_SET=$RUNTIMESET
|
|
|
|
|
2022-02-04 18:18:19 +01:00
|
|
|
RUN piston-install
|