Skip to content

Commit 2eec449

Browse files
dev20210630-2
1 parent a9b0877 commit 2eec449

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040

4141
// Add the IDs of extensions you want installed when the container is created.
4242
"extensions": [
43-
"GitHub.vscode-pull-request-github",
4443
"golang.Go",
4544
"ms-azuretools.vscode-docker"
4645
],

backend/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@ FROM ubuntu:21.04
33
RUN apt-get update
44
RUN apt-get -y upgrade
55

6-
RUN apt-get -y install build-essential curl golang ca-certificates docker.io
6+
RUN apt-get -y install golang ca-certificates docker.io
77

88
RUN update-ca-certificates
99

1010
WORKDIR /code-grader
1111
COPY . .
1212

13+
WORKDIR /code-grader/backend
14+
RUN go build
15+
1316
EXPOSE 8080
1417
ENV GIN_MODE=release
1518

runtime-exec/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ubuntu:21.04
22

33
RUN apt-get update
44
RUN apt-get -y upgrade
5-
RUN apt-get -y install golang ca-certificates build-essential
5+
RUN apt-get -y install golang ca-certificates
66

77
RUN update-ca-certificates
88

0 commit comments

Comments
 (0)