diff --git a/encryptor/Dockerfile b/encryptor/Dockerfile index eef7445f3..6e54da728 100644 --- a/encryptor/Dockerfile +++ b/encryptor/Dockerfile @@ -11,7 +11,7 @@ ENV APP_NAME=${APP_NAME} RUN echo "Build of $APP_NAME started" RUN apt-get update -y && apt-get install --no-install-recommends -y ca-certificates unzip curl libc-bin libc6 \ - && apt-get clean && rm -f /var/lib/apt/lists/*_* + && apt-get clean && rm -f /var/lib/apt/lists/*_* WORKDIR /app COPY pkg pkg @@ -32,7 +32,7 @@ RUN curl -sL https://github.com/google/protobuf/releases/download/v3.3.0/protoc- WORKDIR /app RUN go install github.com/mgechev/revive@v1.7.0 RUN go install gotest.tools/gotestsum@v1.12.1 -RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@latest +RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.7 CMD [ "/bin/bash", "-c \"while sleep 1000; do :; done\"" ] @@ -48,7 +48,7 @@ LABEL org.opencontainers.image.source https://github.com/semaphoreio/semaphore # postgresql-client needs to be installed here too, # otherwise the createdb command won't work. RUN apt-get update -y && apt-get install --no-install-recommends -y ca-certificates \ - && apt-get clean && rm -f /var/lib/apt/lists/*_* + && apt-get clean && rm -f /var/lib/apt/lists/*_* # We don't need Docker health checks, since these containers # are intended to run in Kubernetes pods, which have probes. diff --git a/public-api-gateway/Dockerfile b/public-api-gateway/Dockerfile index 423c96df5..60b8a00d4 100644 --- a/public-api-gateway/Dockerfile +++ b/public-api-gateway/Dockerfile @@ -11,7 +11,7 @@ ENV APP_NAME=${APP_NAME} RUN echo "Build of $APP_NAME started" RUN apt-get update -y && apt-get install --no-install-recommends -y ca-certificates unzip curl libc-bin libc6 \ - && apt-get clean && rm -f /var/lib/apt/lists/*_* + && apt-get clean && rm -f /var/lib/apt/lists/*_* WORKDIR /tmp RUN curl -sL https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip -o protoc && \ @@ -22,8 +22,8 @@ WORKDIR /app RUN go install github.com/mgechev/revive@v1.7.0 RUN go install gotest.tools/gotestsum@v1.12.1 -RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@latest -RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest +RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.7 +RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 FROM base AS dev diff --git a/repohub/Dockerfile b/repohub/Dockerfile index 9a44884a0..5a9006ec0 100644 --- a/repohub/Dockerfile +++ b/repohub/Dockerfile @@ -61,9 +61,9 @@ RUN curl -sL https://github.com/golang-migrate/migrate/releases/download/v4.18.1 WORKDIR /app RUN go install github.com/mgechev/revive@v1.4.0 -RUN go install gotest.tools/gotestsum@latest -RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest -RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@latest +RUN go install gotest.tools/gotestsum@v1.12.1 +RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 +RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.8 CMD [ "/bin/bash", "-c \"while sleep 1000; do :; done\"" ]