Skip to content

Commit

Permalink
Merge pull request #8 from GradleUp/devcontainers-speed
Browse files Browse the repository at this point in the history
Detach the development cache
  • Loading branch information
oleg-nenashev authored Aug 2, 2024
2 parents 4b68600 + 95d6450 commit 708da23
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ FROM python:3.10.4-slim-buster

RUN apt-get update
RUN apt-get install -y libsass-dev build-essential libcairo2 git libpango-1.0-0 libpangoft2-1.0-0 pangocairo-1.0 pngquant

COPY requirements.txt /build/requirements.txt
RUN pip3 install -r /build/requirements.txt
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
- name: Build in the dev container image
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/oleg-nenashev/oleg-nenashev-site-builder
cacheFrom: ghcr.io/oleg-nenashev/oleg-nenashev-site-builder
imageName: ghcr.io/gradleup/gradleup.github.io-builder
cacheFrom: ghcr.io/gradleup/gradleup.github.io-builder
push: never
runCmd: |
mkdocs build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
- name: Build in the dev container image
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/oleg-nenashev/oleg-nenashev-site-builder
cacheFrom: ghcr.io/oleg-nenashev/oleg-nenashev-site-builder
imageName: gradleup/gradleup.github.io-builder
cacheFrom: gradleup/gradleup.github.io-builder
push: never
runCmd: |
mkdocs build
Expand Down

0 comments on commit 708da23

Please sign in to comment.