3
0

Switch to deb/ubuntu for base image due to lib incompatibilities

This commit is contained in:
Denis Arh 2021-07-27 16:11:03 +02:00
parent 4f7b306ac6
commit 00ba60e557
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,5 @@
.idea
.dev
build
codegen
var

View File

@ -1,13 +1,11 @@
# build stage
FROM golang:1.16-alpine as build-stage
FROM golang:1.16-buster as build-stage
ENV GOFLAGS='-mod=readonly'
ENV BUILD_OS=linux
ENV BUILD_ARCH=amd64
ENV BUILD_VERSION=latest
RUN apk add build-base --no-cache
WORKDIR /corteza
COPY . ./
@ -16,7 +14,7 @@ RUN make release-clean release
# deploy stage
FROM alpine:3
FROM ubuntu:20.04
ENV STORAGE_PATH "/data"
ENV CORREDOR_ADDR "corredor:80"