Skip to content

Commit

Permalink
maybe fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbradford committed Oct 31, 2023
1 parent 6a2f5a5 commit 32be88f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@
],
"features": {
"ghcr.io/devcontainers/features/git:1": {}
}
},

// Use 'postCreateCommand' to run commands after the container is created.
// TODO yarn install probably should be cached in Dockerfile
// "postCreateCommand": "yarn install",
// TODO can't get the yarn install within Dockerfile to show up in dev container
"postCreateCommand": "yarn install --frozen-lockfile"

// Configure tool-specific properties.
// "customizations": {
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ FROM node:18.15.0-bullseye-slim
# Set the working directory
WORKDIR /app

# RUN apk add --no-cache yarn
# necessary for some of the npm packages
RUN apt-get update && apt-get install -y \
python3 \
make \
g++

# https://docs.doppler.com/docs/install-cli
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates curl gnupg && \
curl -sLf --retry 3 --tlsv1.2 --proto "=https" 'https://packages.doppler.com/public/cli/gpg.DE2A7741A397C129.key' | gpg --dearmor -o /usr/share/keyrings/doppler-archive-keyring.gpg && \
echo "deb [signed-by=/usr/share/keyrings/doppler-archive-keyring.gpg] https://packages.doppler.com/public/cli/deb/debian any-version main" | tee /etc/apt/sources.list.d/doppler-cli.list && \
Expand Down

0 comments on commit 32be88f

Please sign in to comment.