You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
474 B
Docker

ARG DOCKER_IO=docker.io
FROM ${DOCKER_IO}/library/golang:1.19
# Install packages
RUN apt-get update --allow-releaseinfo-change && \
apt-get --no-install-recommends --no-install-suggests --yes --quiet install \
git-core ca-certificates make wget unzip protobuf-compiler
# RUN go mod download
ENV GOPATH="/go"
VOLUME [ "/go", "/code", "/root/.cache" ]
COPY ./scripts /scripts
COPY ./docker-entrypoint.sh /
ENTRYPOINT [ "/docker-entrypoint.sh" ]
WORKDIR /code