forked from Sage-Bionetworks-Workflows/nf-dynamic-challenge
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
29 lines (24 loc) · 858 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM ubuntu:22.04
LABEL org.opencontainers.image.source=https://github.com/Sage-Bionetworks-Workflows/nf-synapse-challenge
#install apt-get dependencies
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y \
bash \
curl \
gpg \
python3 \
python3-pip
#Add the official Docker (apt-get) repository
RUN mkdir -p /etc/apt/keyrings
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg \
| gpg --dearmor -o /etc/apt/keyrings/docker.gpg
RUN echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
focal stable" \
| tee /etc/apt/sources.list.d/docker.list > /dev/null
#install docker
RUN apt-get update -y && apt-get install -y \
docker-ce
# Install Python libraries using pip
RUN pip3 install \
docker \
synapseclient