annotate bamboo-agent/Dockerfile @ 448:c8a3c4500d04

USASR-5154 added more keys
author belknapSSDT <zach.belknap@mcoecn.org>
date Wed, 27 Sep 2023 15:17:53 -0400
parents 83f30dc7e9fb
children
rev   line source
249
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
1 FROM ubuntu:16.04
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
2
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
3 RUN apt-get update
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
4 RUN apt-get install -y ca-certificates
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
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
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
8 # set up nsswitch.conf for Go's "netgo" implementation (which Docker explicitly uses)
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
9 # - https://github.com/docker/docker-ce/blob/v17.09.0-ce/components/engine/hack/make.sh#L149
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
10 # - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
11 # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
12 RUN echo 'hosts: files dns' > /etc/nsswitch.conf
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
13
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
14 ENV DOCKER_CHANNEL stable
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
15 ENV DOCKER_VERSION 17.03.2-ce
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
16 ENV PATH "$PATH:/usr/local/bin"
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
17 ENV DOCKER_HOST unix:///var/run/docker.sock
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
18 #RUN set -ex
3799d9706864 adding bamboo agent configuration files
aldrich@nwoca.org
parents:
diff changeset
19