Skip to content

Commit

Permalink
Merge pull request cit965#78 from cit965/lbzss-patch-2
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
mouuii authored Sep 15, 2023
2 parents d97e9a1 + 67f0c35 commit b0899f9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
FROM golang:1.18 AS builder
FROM golang:1.21 AS builder

COPY . /src
WORKDIR /src

RUN apt-get update && apt-get install -y --no-install-recommends \
libprotobuf-dev \
protobuf-compiler \
ca-certificates \
ca-certificates \
netbase \
unzip \
&& rm -rf /var/lib/apt/lists/ \
&& apt-get autoremove -y && apt-get autoclean -y

RUN curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip && unzip protoc-3.15.8-linux-x86_64.zip -d ./protoc && mv ./protoc/bin/protoc /usr/local/bin/ && rm -rf protoc-3.15.8-linux-x86_64.zip ./protoc

RUN make init && make all && make build

FROM debian:stable-slim
Expand Down

0 comments on commit b0899f9

Please sign in to comment.