Skip to content

Commit

Permalink
Fixed devcontainer start
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverKillane committed Sep 27, 2023
1 parent 484168b commit 8a944a9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ ENV PATH="${PATH}:/usr/local/texlive/${TL_VERSION}/bin/x86_64-linux"
# Update packages and tlmgr
RUN tlmgr init-usertree
RUN tlmgr update --self --all

CMD /usr/bin/bash
7 changes: 5 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"image": "ghcr.io/oliverkillane/imperial-computing-notes-dev:latest",
"image": "ghcr.io/oliverkillane/imperial-computing-notes-dev",
"customizations": {
"vscode": {
"extensions": []
"settings": {},
"extensions": [
"James-Yu.latex-workshop",
]
}
},
"mounts": [
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/push-dev-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- enh/development-docker
paths:
- '.devcontainer/**'

jobs:
docker:
Expand All @@ -22,8 +24,11 @@ jobs:
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
flavor: |
latest=auto
labels: |
org.opencontainers.image.description=A container for easy setup in developing the Imperial Computing Note project.
org.opencontainers.image.description=A development image for the imperial computing notes
org.opencontainers.image.vendor=Imperial Computing Notes
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit 8a944a9

Please sign in to comment.