Skip to content

Commit 6ca684b

Browse files
Merge pull request #51 from pamelafox/azd-feat
Port to using azd feature
2 parents 9ff230f + 7bf715b commit 6ca684b

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
ARG VARIANT=3
2-
FROM --platform=amd64 mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
3-
4-
ENV PYTHONUNBUFFERED 1
1+
FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.10
52

63
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
74
&& apt-get -y install --no-install-recommends postgresql-client \
8-
&& apt-get update && apt-get install -y xdg-utils \
9-
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
10-
11-
RUN curl -fsSL https://aka.ms/install-azd.sh | bash
5+
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"service": "app",
55
"workspaceFolder": "/workspace",
66
"features": {
7+
"ghcr.io/azure/azure-dev/azd:latest": {}
78
},
89
"customizations": {
910
"vscode": {

.devcontainer/docker-compose.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ services:
55
build:
66
context: ..
77
dockerfile: .devcontainer/Dockerfile
8-
args:
9-
# [Choice] Python version: 3, 3.8, 3.7, 3.6
10-
VARIANT: "3.10"
11-
# On Linux, you may need to update USER_UID and USER_GID below if not your local UID is not 1000.
12-
USER_UID: 1000
13-
USER_GID: 1000
148

159
volumes:
1610
- ..:/workspace:cached

0 commit comments

Comments
 (0)