File tree Expand file tree Collapse file tree 9 files changed +77
-0
lines changed
Expand file tree Collapse file tree 9 files changed +77
-0
lines changed Original file line number Diff line number Diff line change 1+ services :
2+ # TODO: Your other containers go here!
3+
4+ dev :
5+ image : jeffersonlab/python-devcontainer:latest
6+ hostname : dev
7+ container_name : dev
8+ volumes :
9+ - /var/run/docker.sock:/var/run/docker.sock
Original file line number Diff line number Diff line change 1+ {
2+ "dockerComposeFile" : " dev.yaml" ,
3+ "service" : " dev" ,
4+ "workspaceFolder" : " /workspaces/python-devcontainer"
5+ }
Original file line number Diff line number Diff line change 1+ name : CD
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ paths :
7+ - ' VERSION'
8+
9+ jobs :
10+ release :
11+ uses : jeffersonlab/container-workflows/.github/workflows/gh-release.yml@v1
12+
13+ docker_publish :
14+ needs :
15+ - release
16+ uses : jeffersonlab/container-workflows/.github/workflows/docker-publish.yml@v1
17+ with :
18+ semvertag : ${{ needs.release.outputs.semvertag }}
19+ secrets : inherit
Original file line number Diff line number Diff line change 1+ name : DD
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - README.md
9+ - .github/workflows/dd.yml
10+ jobs :
11+ description :
12+ uses : jeffersonlab/container-workflows/.github/workflows/docker-description.yml@v1
13+ secrets : inherit
Original file line number Diff line number Diff line change 1+ FROM ubuntu:jammy
2+
3+ RUN cd /tmp \
4+ && apt update \
5+ && apt install -y curl git vim zip unzip tini \
6+ && apt clean \
7+ && curl -o /usr/local/share/ca-certificates/customcert.crt http://pki.jlab.org/JLabCA.crt \
8+ && update-ca-certificates \
9+ && curl -O https://raw.githubusercontent.com/devcontainers/features/main/src/docker-outside-of-docker/install.sh \
10+ && chmod +x /tmp/install.sh \
11+ && /tmp/install.sh
12+
13+ ENV TZ=America/New_York
14+ ENTRYPOINT ["/usr/bin/tini" , "--" ]
15+ CMD ["sleep" , "infinity" ]
Original file line number Diff line number Diff line change 1+ 0.0.5
Original file line number Diff line number Diff line change 1+ services :
2+ dev :
3+ extends :
4+ file : compose.yaml
5+ service : dev
6+ build :
7+ context : .
8+ dockerfile : Dockerfile
Original file line number Diff line number Diff line change 1+ services :
2+ dev :
3+ image : jeffersonlab/python-devcontainer:0.0.5
Original file line number Diff line number Diff line change 1+ services :
2+ dev :
3+ hostname : dev
4+ container_name : dev
You can’t perform that action at this time.
0 commit comments