-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (28 loc) · 1.09 KB
/
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
30
31
32
33
34
35
36
37
38
#############################################################
# Dockerfile to build container for Synapse Python client
#############################################################
# Base Image
FROM ubuntu:16.04
# Metadata
LABEL base.image="ubuntu:16.04"
LABEL version="1"
LABEL software="synapseclient"
LABEL software.version="1.7.2"
LABEL description="Programmatic interface to Synapse services for Python"
LABEL website="https://github.com/Sage-Bionetworks/synapsePythonClient"
LABEL documentation="https://github.com/Sage-Bionetworks/synapsePythonClient"
LABEL license="https://github.com/Sage-Bionetworks/synapsePythonClient"
LABEL tags="General"
# File Author / Maintainer
MAINTAINER Thomas V Yu <thomasyu888@gmail.com>
# set version here to minimize need for edits below
ENV VERSION=1.7.2
# set up packages
USER root
ENV PACKAGES python-dev git python-setuptools python-pip zip
RUN apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES}
RUN pip install synapseclient==$VERSION
COPY bin/synapse_submit /usr/local/bin/
RUN chmod a+x /usr/local/bin/synapse_submit
CMD ["/bin/bash"]