-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
25 lines (22 loc) · 938 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
FROM jenkinsci/ssh-slave
MAINTAINER Robert Schneider <[email protected]>
ARG DOCKER_COMPOSE_VERSION=1.13.0
RUN apt-get update \
&& apt-get install --no-install-recommends --assume-yes \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
lsb-release \
software-properties-common \
&& curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
&& add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable" \
&& apt-get update \
&& apt-get install --no-install-recommends --assume-yes docker-ce \
&& curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose \
&& chmod 0755 /usr/local/bin/docker-compose \
&& apt-get clean \
&& rm -rf var/lib/apt/lists/*