Skip to content

Commit e38d02c

Browse files
committed
feat: agregar Dockerfile y actualizar devcontainer.json para construir la imagen
1 parent f9a0d0c commit e38d02c

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM mcr.microsoft.com/devcontainers/python:1-3.10-bookworm
2+
3+
RUN rm -f /etc/apt/sources.list.d/yarn.list \
4+
/etc/apt/sources.list.d/yarn.sources \
5+
/usr/share/keyrings/yarnkey.gpg \
6+
/etc/apt/keyrings/yarn-archive-keyring.gpg

.devcontainer/devcontainer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"name": "Python 3",
3-
"image": "mcr.microsoft.com/devcontainers/python:1-3.10-bookworm",
3+
"build": {
4+
"dockerfile": "Dockerfile"
5+
},
46
"features": {
5-
"ghcr.io/devcontainers/features/docker-in-docker:2.12.0": {}
7+
"ghcr.io/devcontainers/features/docker-in-docker:2.16.1": {}
68
},
79
"forwardPorts": [1433],
810
"postStartCommand": "/bin/bash ./.devcontainer/setup_odbc.sh & /bin/bash ./.devcontainer/setup_env.sh",

0 commit comments

Comments
 (0)