Skip to content

Commit bb7da3b

Browse files
committed
Update to latest devcontainer config
1 parent feffe2c commit bb7da3b

File tree

4 files changed

+6
-15
lines changed

4 files changed

+6
-15
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
# install rebar and hex, present in base image
44
install-mix-tooling
55

6-
# prepare application
6+
# compile application
77
mix deps.get
8+
mix compile
9+
MIX_ENV=test mix compile
810

911
# import GitHub public key for git commit signature verification
1012
curl https://github.com/web-flow.gpg | gpg --import

.devcontainer/bin/updateContentCommand

Lines changed: 0 additions & 6 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
],
66
"service": "devcontainer",
77
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
8-
"onCreateCommand": ".devcontainer/bin/onCreateCommand",
9-
"updateContentCommand": ".devcontainer/bin/updateContentCommand",
8+
"postCreateCommand": ".devcontainer/bin/postCreateCommand",
109
"customizations": {
1110
"codespaces": {
1211
"repositories": {

.devcontainer/docker-compose.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
version: "3.8"
21
services:
32
# Update this to the name of the service you want to work with in your docker-compose.yml file
43
devcontainer:
5-
image: ghcr.io/studitemps/devcontainer-base:local-2025-03-27
6-
7-
environment:
8-
- DOPPLER_TOKEN
4+
image: ghcr.io/studitemps/devcontainer-base:date-2025-11-24
95

106
volumes:
117
# Update this to wherever you want VS Code to mount the folder of your project
128
- ..:/workspaces:cached
139
# Uncomment the next line to use Docker from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker-compose for details.
14-
# - /var/run/docker.sock:/var/run/docker.sock
10+
- /var/run/docker.sock:/var/run/docker.sock
1511
# Store command history persistently
1612
- commandhistory:/commandhistory
1713
# Overrides default command so things don't shut down after the process ends.

0 commit comments

Comments
 (0)