Skip to content

Commit

Permalink
Upgrade devcontainer (for Github Codespaces)
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Feb 12, 2024
1 parent 3d2d5cf commit 492d4cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/python:3.11
FROM mcr.microsoft.com/devcontainers/python:3.12

# Install dependency to make bash completion work with invoke
RUN apt-get update && \
Expand All @@ -14,5 +14,4 @@ RUN pipx install invoke && \
invoke --print-completion-script=bash >> ~/.bash_completion

RUN pipx install poetry && \
poetry completions bash >> ~/.bash_completion && \
poetry config virtualenvs.in-project true
poetry completions bash >> ~/.bash_completion
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ghcr.io/devcontainers/features/docker-in-docker:2": {
// Install Docker CE instead of an (by default) older Moby version
"moby": false,
"version": "23.0.4"
"version": "25.0.3"
},
"ghcr.io/devcontainers/features/node:1": {}
},
Expand Down

0 comments on commit 492d4cc

Please sign in to comment.