woj-server/resource/runner/scripts/ubuntu-run.Dockerfile

12 lines
358 B
Docker

FROM git.0x7f.app/woj/ubuntu-full:latest AS builder
FROM docker.io/library/ubuntu:22.04
RUN apt-get update && apt-get upgrade -y \
&& apt-get install -y python3 pypy3 \
&& apt-get clean && rm -rf /var/lib/apt/lists
WORKDIR /woj
RUN mkdir -p /woj/framework/scripts
COPY --from=builder /woj/framework/scripts/woj_launcher /woj/framework/scripts/