Skip to content

Commit

Permalink
bring in AWS
Browse files Browse the repository at this point in the history
pre-pull docker images
  • Loading branch information
andrewpatto committed Dec 20, 2023
1 parent e76350b commit ac40d4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM --platform=linux/amd64 public.ecr.aws/aws-cli/aws-cli as aws

FROM gitpod/workspace-full

# Our list of tools we need to use for dev (that won't be installed via npm etc)
Expand All @@ -19,5 +21,6 @@ RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
# pre-commit
RUN pip install pre-commit

# granted (AWS role assume)
RUN curl -L releases.commonfate.io/granted/v0.20.3/granted_0.20.3_linux_x86_64.tar.gz | sudo tar -zxvf - -C /usr/local/bin
# aws CLI v2
COPY --from=aws /usr/local/aws-cli/ /usr/local/aws-cli/
COPY --from=aws /usr/local/bin/ /usr/local/bin/
3 changes: 2 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ tasks:
yarn install
find ./lib -name 'requirements.txt' -exec pip install -r {} \;
pip install -r requirements-dev.txt
docker compose pull
- name: Mock Services
command: |
docker compose up -d
docker compose up
ports:
- name: Frontend
Expand Down

0 comments on commit ac40d4c

Please sign in to comment.