File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 40
40
41
41
// Add the IDs of extensions you want installed when the container is created.
42
42
"extensions" : [
43
- " GitHub.vscode-pull-request-github" ,
44
43
" golang.Go" ,
45
44
" ms-azuretools.vscode-docker"
46
45
],
Original file line number Diff line number Diff line change @@ -3,13 +3,16 @@ FROM ubuntu:21.04
3
3
RUN apt-get update
4
4
RUN apt-get -y upgrade
5
5
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
7
7
8
8
RUN update-ca-certificates
9
9
10
10
WORKDIR /code-grader
11
11
COPY . .
12
12
13
+ WORKDIR /code-grader/backend
14
+ RUN go build
15
+
13
16
EXPOSE 8080
14
17
ENV GIN_MODE=release
15
18
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM ubuntu:21.04
2
2
3
3
RUN apt-get update
4
4
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
6
6
7
7
RUN update-ca-certificates
8
8
You can’t perform that action at this time.
0 commit comments