Switch to deb/ubuntu for base image due to lib incompatibilities
This commit is contained in:
parent
4f7b306ac6
commit
00ba60e557
@ -1,4 +1,5 @@
|
||||
.idea
|
||||
.dev
|
||||
build
|
||||
codegen
|
||||
var
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user