Skip to content

Commit d147caa

Browse files
committedNov 14, 2020
🚀 add Dockerfile
Signed-off-by: Rintaro Okamura <[email protected]>
1 parent 0c0ff37 commit d147caa

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
 

‎.devcontainer/Dockerfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM mcr.microsoft.com/vscode/devcontainers/go:1 AS base
2+
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
build-essential \
5+
cmake \
6+
curl \
7+
g++ \
8+
gawk \
9+
gcc \
10+
git \
11+
jq \
12+
sed \
13+
zip \
14+
unzip \
15+
&& apt-get clean \
16+
&& rm -rf /var/lib/apt/lists/*
17+
18+
WORKDIR ${GOPATH}

‎.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"image": "mcr.microsoft.com/vscode/devcontainers/go:1",
2+
"dockerfile": "Dockerfile",
33
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
44

55
"settings": {

0 commit comments

Comments
 (0)
Please sign in to comment.