This repository has been archived by the owner on Dec 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (27 loc) · 1.49 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
FROM jenkins/jenkins:lts
MAINTAINER Rodrigo de la Fuente <rodrigo@delafuente.email>
LABEL Description="Jenkins container with docker.io binary" \
Vendor="ACME Products" \
Version="1.0"
ENV DOCKER_HOST 172.17.0.1:4243
USER root
RUN set -e; \
apt-get update; \
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
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 -y docker-ce; \
/usr/local/bin/install-plugins.sh \
yet-another-docker-plugin
USER jenkins