-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added generic docker image for concourse tasks
- Loading branch information
1 parent
b556830
commit d9cf52d
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM ghcr.io/alphagov/paas/bosh-cli-v2:main | ||
|
||
ENV AWSCLI_VERSION "1.19.112" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
python3 \ | ||
python3-pip \ | ||
&& pip3 install \ | ||
awscli==$AWSCLI_VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Concourse Tools | ||
|
||
This image is for building a container to run concourse tasks, which require various tools including: bosh-cli, awscli and curl. It uses bosh-cli-v2 as a base image and installs awscli on top using pip, and curl using apt. | ||
|
||
## Build locally | ||
|
||
``` | ||
$ cd concourse-tools | ||
$ docker build -t concourse-tools . | ||
``` | ||
|
||
## Run | ||
|
||
``` | ||
docker run -it concourse-tools /bin/bash -c "bosh --version" | ||
``` |