Last active
December 20, 2021 09:42
-
-
Save mlin/72a6400f0ac215aeedf6d4001a57b67b to your computer and use it in GitHub Desktop.
miniwdl udocker-in-docker PoC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ | |
wget curl python3-pip python-is-python3 | |
RUN pip3 install --system miniwdl==1.4.2 | |
ENV UDOCKER_VERSION=1.3.1 | |
WORKDIR /usr/local | |
RUN wget -nv https://github.com/indigo-dc/udocker/releases/download/v${UDOCKER_VERSION}/udocker-${UDOCKER_VERSION}.tar.gz \ | |
&& tar zxf udocker-${UDOCKER_VERSION}.tar.gz \ | |
&& rm udocker-${UDOCKER_VERSION}.tar.gz | |
ENV PATH=/usr/local/udocker:$PATH | |
RUN udocker --allow-root run --nobanner --rm ubuntu:20.04 cat /etc/issue | |
WORKDIR /mnt | |
ENV MINIWDL__SCHEDULER__CONTAINER_BACKEND=udocker | |
CMD miniwdl run_self_test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment