Skip to content

Commit

Permalink
note on building and running containerised version added to main READ…
Browse files Browse the repository at this point in the history
…ME.md
  • Loading branch information
davedavemckay committed Jun 24, 2024
1 parent 2c87e5b commit 957c656
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,14 @@ e.g., from root folder:
```shell
docker build -t ghcr.io/lsst-uk/csd3-somerville-echo-basic:v0.1.0 -f echo-side/containers/basic_env/Dockerfile .
```

## Running containers

e.g., to list current bucket, with environemnt variables for S3 access set on the host:

```shell
docker run \
-e ECHO_S3_ACCESS_KEY=$ECHO_S3_ACCESS_KEY \
-e ECHO_S3_SECRET_KEY=$ECHO_S3_SECRET_KEY \
ghcr.io/lsst-uk/csd3-echo-somerville:v0.0.1 python csd3-echo-somerville/scripts/list_buckets.py
```

0 comments on commit 957c656

Please sign in to comment.