Skip to content

Commit

Permalink
Use install-apt insted of update+install
Browse files Browse the repository at this point in the history
  • Loading branch information
lmilbaum committed Apr 15, 2023
1 parent 795fa45 commit c5358c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@ FROM ghcr.io/containerbase/node:18.16.0@sha256:fc48ac97eb5d0dee207d4a336a52d7d3b

USER root

WORKDIR /workspace
COPY . .

RUN apt update; \
apt install -y make g++
RUN install-apt make g++

# renovate: datasource=github-releases packageName=containerbase/python-prebuild
RUN install-tool python 3.11.3

# renovate: datasource=npm
RUN install-tool yarn 1.22.19
RUN yarn install
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
"--security-opt",
"seccomp=unconfined",
"--privileged"
]
],
"postCreateCommand": "yarn install"
}
2 changes: 1 addition & 1 deletion .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
- name: Build and run dev container task
uses: devcontainers/ci@v0.3.1900000328
with:
runCmd: cd /workspace; yarn build
runCmd: yarn build

0 comments on commit c5358c3

Please sign in to comment.