mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 20:46:26 +02:00
api,repo: Switch to debian base image
This commit is contained in:
parent
b91ff42bb8
commit
12dc93435d
2 changed files with 10 additions and 7 deletions
|
@ -1,7 +1,9 @@
|
|||
FROM node:15.8.0-alpine3.13
|
||||
RUN apk add --no-cache gnupg tar bash coreutils shadow util-linux
|
||||
RUN userdel -r node
|
||||
RUN for i in $(seq 1000 1500); do \
|
||||
FROM node:15.8.0-buster-slim
|
||||
RUN dpkg-reconfigure -p critical dash
|
||||
RUN apt-get update && apt-get install -y gnupg tar coreutils util-linux \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN for i in $(seq 1001 1500); do \
|
||||
groupadd -g $i runner$i && \
|
||||
useradd -M runner$i -g $i -u $i ; \
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue