Skip to content

Commit

Permalink
added generic docker image for concourse tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jackjoy-gds committed Sep 26, 2023
1 parent b556830 commit d9cf52d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions concourse-tools/Dockerfile
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
16 changes: 16 additions & 0 deletions concourse-tools/README.md
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"
```

0 comments on commit d9cf52d

Please sign in to comment.