forked from Azure/batch-shipyard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (21 loc) · 862 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
# Dockerfile for Azure/batch-shipyard (cli)
FROM gliderlabs/alpine:3.4
MAINTAINER Fred Park <https://github.com/Azure/batch-shipyard>
# add base packages and python dependencies
RUN apk update \
&& apk add --update --no-cache \
musl build-base python3 python3-dev openssl-dev libffi-dev \
ca-certificates openssl openssh-client rsync git bash \
&& pip3 install --no-cache-dir --upgrade pip \
&& git clone https://github.com/Azure/batch-shipyard.git /opt/batch-shipyard \
&& cd /opt/batch-shipyard \
&& rm -rf .git \
&& rm -f .git* .travis.yml install* \
&& pip3 install -r requirements.txt \
&& apk del --purge \
build-base python3-dev openssl-dev libffi-dev git \
&& rm /var/cache/apk/*
# set working dir
WORKDIR /opt/batch-shipyard
# set entrypoint
ENTRYPOINT ["/opt/batch-shipyard/shipyard.py"]