Skip to content

Commit

Permalink
Add shell configuration and AWS command test
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Woffenden <[email protected]>
  • Loading branch information
Jacob Woffenden committed Feb 20, 2024
1 parent b40c040 commit 71f5be2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ ENV CONTAINER_USER="analyticalplatform" \
MINICONDA_SHA265="35a58b8961e1187e7311b979968662c6223e86e1451191bed2e67a72b6bd0658" \
PATH="/opt/conda/bin:${PATH}"

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# User
RUN groupadd \
--gid ${CONTAINER_GID} \
Expand Down
5 changes: 5 additions & 0 deletions test/container-structure-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ commandTests:
args: ["--groups", "analyticalplatform"]
expectedOutput: ["100"]

- name: "aws"
command: "aws"
args: ["--version"]
expectedOutput: ["aws-cli/2.*"]

- name: "conda"
command: "conda"
args: ["info"]
Expand Down

0 comments on commit 71f5be2

Please sign in to comment.