From 6cbc67e9bfce7fcb5da2f402adeb9e83cab8f717 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sat, 26 Dec 2020 01:09:47 +0300 Subject: Update Dockerfile for the RR2 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 3c9ce76a..ed143753 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Image page: -FROM golang:1.15.5 as builder +FROM golang:1.15.6 as builder # app version and build date must be passed during image building (version without any prefix). # e.g.: `docker build --build-arg "APP_VERSION=1.2.3" --build-arg "BUILD_TIME=$(date +%FT%T%z)" .` @@ -26,7 +26,7 @@ RUN set -x \ COPY . . # compile binary file -RUN CGO_ENABLED=0 go build -trimpath -ldflags "$LDFLAGS" -o ./rr ./cmd/rr/main.go +RUN CGO_ENABLED=0 go build -trimpath -ldflags "$LDFLAGS" -o ./rr ./cmd/main.go # Image page: FROM alpine:3.12 -- cgit v1.2.3