mirror of
https://github.com/engineer-man/piston.git
synced 2025-07-24 22:48:45 +02:00
Fix issues after merging upstream
Implements a simple container builder for runtime sets
This commit is contained in:
parent
e022e34a37
commit
83e4a1a136
7 changed files with 135 additions and 55 deletions
12
Dockerfile.withset
Normal file
12
Dockerfile.withset
Normal file
|
@ -0,0 +1,12 @@
|
|||
# This "FROM" image is previously emitted by nix
|
||||
FROM ghcr.io/engineer-man/piston:base-latest
|
||||
|
||||
ENV PISTON_FLAKE_PATH=/piston/packages
|
||||
COPY runtimes/ /piston/packages/runtimes
|
||||
COPY flake.nix flake.lock /piston/packages/
|
||||
|
||||
|
||||
ARG RUNTIMESET=all
|
||||
ENV PISTON_RUNTIME_SET=$RUNTIMESET
|
||||
|
||||
RUN piston-install
|
Loading…
Add table
Add a link
Reference in a new issue