-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
31 lines (29 loc) · 813 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
30
31
FROM ubuntu:bionic
ENV GITFLOW_DIR=/usr/local/bin
RUN set -eux; \
apt-get update; \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
fish \
git \
iproute2 \
jq \
make \
ruby \
software-properties-common; \
\
git clone https://github.com/troykinsella/gitflow-avh; \
cd gitflow-avh; \
make install; \
cd ..; \
rm -rf gitflow-avh; \
\
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -; \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"; \
apt-get update; \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
docker-ce; \
apt-get clean all; \
rm -rf /var/lib/apt/lists/*