Skip to content

Commit

Permalink
Switch to deb/ubuntu for base image due to lib incompatibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
darh committed Jul 27, 2021
1 parent 4f7b306 commit 00ba60e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
.dev
build
codegen
var
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 . ./
Expand All @@ -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"
Expand Down

0 comments on commit 00ba60e

Please sign in to comment.