Mercurial > public > ssdt-docker
annotate bamboo-agent/Dockerfile @ 606:2aebef3e31bf
add ipdp install scripts
author | Justin Kleinknecht <justin.kleinknecht@mcoecn.org> |
---|---|
date | Tue, 01 Jul 2025 20:50:56 +0100 |
parents | 83f30dc7e9fb |
children |
rev | line source |
---|---|
249 | 1 FROM ubuntu:16.04 |
2 | |
3 RUN apt-get update | |
4 RUN apt-get install -y ca-certificates | |
5 | |
316
83f30dc7e9fb
adjusting docker script to test notifications
aldrich@ssdt-ohio.org
parents:
315
diff
changeset
|
6 ####NOTE we are no longer using the docker-bamboo agent images due to migration to mutli-agent servers. |
83f30dc7e9fb
adjusting docker script to test notifications
aldrich@ssdt-ohio.org
parents:
315
diff
changeset
|
7 |
249 | 8 # set up nsswitch.conf for Go's "netgo" implementation (which Docker explicitly uses) |
9 # - https://github.com/docker/docker-ce/blob/v17.09.0-ce/components/engine/hack/make.sh#L149 | |
10 # - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275 | |
11 # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf | |
12 RUN echo 'hosts: files dns' > /etc/nsswitch.conf | |
13 | |
14 ENV DOCKER_CHANNEL stable | |
15 ENV DOCKER_VERSION 17.03.2-ce | |
16 ENV PATH "$PATH:/usr/local/bin" | |
17 ENV DOCKER_HOST unix:///var/run/docker.sock | |
18 #RUN set -ex | |
19 # why we use "curl" instead of "wget": | |
20 # + wget -O docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-17.03.1-ce.tgz | |
21 # Connecting to download.docker.com (54.230.87.253:443) | |
22 # wget: error getting response: Connection reset by peer | |
23 | |
24 RUN apt-get update -y | |
25 | |
26 | |
27 RUN apt-get install -y mercurial \ | |
28 | |
253
538179e4c675
adding bamboo agent configuration files - fix 2
aldrich@nwoca.org
parents:
252
diff
changeset
|
29 # && apt-get install -y vim \ |
249 | 30 |
253
538179e4c675
adding bamboo agent configuration files - fix 2
aldrich@nwoca.org
parents:
252
diff
changeset
|
31 # && apt-get install -y nano \ |
249 | 32 |
33 && apt-get install -y tar \ | |
34 | |
35 && apt-get install -y curl \ | |
250
a7ae41f4a55b
adding bamboo agent configuration files - fix 1
aldrich@nwoca.org
parents:
249
diff
changeset
|
36 |
a7ae41f4a55b
adding bamboo agent configuration files - fix 1
aldrich@nwoca.org
parents:
249
diff
changeset
|
37 && apt-get install -y unzip \ |
249 | 38 |
258 | 39 && apt-get install -y openjdk-8-jdk \ |
40 | |
310 |