-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
46 lines (41 loc) · 1.02 KB
/
Dockerfile
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
44
45
46
FROM --platform=linux/x86_64 golang:1.22-bookworm
RUN apt-get update && \
apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
autoconf \
automake \
ca-certificates \
git \
htop \
libtool \
npm \
openssl \
python3 \
ruby \
tree \
unzip \
zlib1g-dev \
&& \
update-ca-certificates \
&& \
echo 'alias ll="ls -alt"' >> ~/.bashrc && \
echo 'alias ..="cd ../"' >> ~/.bashrc && \
echo 'alias ...="cd ../../"' >> ~/.bashrc # \
&& \
apt-get clean && apt autoclean && \
rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
WORKDIR /go/src/github.com/threecorp/extremo-proto
COPY Makefile tools go.mod go.sum ./
RUN \
go mod tidy \
&& \
make \
install-protoc \
install-grpc \
install-ecosystem \
install-validator \
install-buf
COPY ./ ./
# ENTRYPOINT ["tail", "-f", "/dev/null"]
# ENTRYPOINT ["make"]
# CMD ["-?"]