Skip to content

Commit

Permalink
Docker in docker (#14)
Browse files Browse the repository at this point in the history
* Test docker in docker

* Update image
  • Loading branch information
dct0 authored Jul 28, 2024
1 parent 9be48f5 commit c99d46c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "CFC - Devenv",
// You can get the sha256 here https://github.com/codersforcauses/automated-setups/pkgs/container/cfc-devenv
// Pin it to a specific version to avoid unnecessary breaking changes
"image": "ghcr.io/codersforcauses/cfc-devenv@sha256:d2fae3d7e7d8f75aa901ccd9beaac0cfd1634e44ad51d3ede6faaa9bb51c8e1b",
"image": "ghcr.io/codersforcauses/cfc-devenv@sha256:a739aeff96bdb2b9beb09f9dd14ca8cb5d84045e0896841535114481a59760c7",

"features": {},

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/devcontainers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Devcontainer CI/CD"

on:
push:
branches: ["main", "FEAT/github-cache"]
branches: ["main", "FEAT/*"]
paths:
- cfc-devenv-base/**
- .github/workflows/devcontainers.yml
Expand Down
6 changes: 1 addition & 5 deletions cfc-devenv-base/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
},

"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"version": "latest",
"enableNonRootDocker": "true"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/node:1": {},
Expand Down Expand Up @@ -58,7 +55,6 @@
"extensions": [
"mhutchie.git-graph",
"eamodio.gitlens",
"ms-azuretools.vscode-docker",
"github.vscode-github-actions",
"johnpapa.vscode-peacock",
"timonwong.shellcheck",
Expand Down

0 comments on commit c99d46c

Please sign in to comment.