Skip to content

Commit

Permalink
Merge branch 'main' into fix/http-bad-request
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCuse authored Jan 19, 2022
2 parents 688f51a + a651657 commit 181eaa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app-service-template/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

#build stage
ARG BASE=golang:1.16-alpine3.14
ARG BASE=golang:1.17-alpine3.15
FROM ${BASE} AS builder

ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev"
Expand All @@ -26,10 +26,10 @@ RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/reposi
RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA}
WORKDIR /app

COPY . .

COPY go.mod vendor* ./
RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..."

COPY . .
ARG MAKE="make build"
RUN $MAKE

Expand Down

0 comments on commit 181eaa4

Please sign in to comment.