-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
43 lines (36 loc) · 976 Bytes
/
Dockerfile
File metadata and controls
43 lines (36 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM golang:latest
WORKDIR /workspace
# Go araçlarını yükle
RUN go install \
golang.org/x/tools/gopls@latest && \
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
RUN apt-get update && apt-get install -y \
git \
curl \
wget \
build-essential \
cmake \
unzip \
gettext \
# python3 \
# python3-pip \
nodejs \
npm \
ripgrep \
fd-find \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g \
typescript \
typescript-language-server \
eslint \
prettier
RUN curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-arm64.appimage && \
chmod u+x nvim-linux-arm64.appimage && \
./nvim-linux-arm64.appimage --appimage-extract && \
mv squashfs-root /usr/local/nvim && \
ln -s /usr/local/nvim/AppRun /usr/local/bin/nvim && \
rm nvim-linux-arm64.appimage
# Environment variables
ENV GO111MODULE=on \
GOPATH=/go \
PATH=$PATH:/go/bin