Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Commit

Permalink
Dockerfile.invocation-image: Fix for multi-arch
Browse files Browse the repository at this point in the history
The container used for compiling the application is only available on
amd64. This change uses a multi-arch golang container and also fixes
an issue where the apt cache can be out-of-date.

Fixes Bug #611

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Reported-by: Andy Doan <andy@foundries.io>
  • Loading branch information
doanac committed Sep 16, 2019
1 parent c9eb813 commit 43cc1ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.invocation-image
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG ALPINE_VERSION=3.10.1

FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
FROM golang:1.13.0 AS build

RUN apt-get install -y -q --no-install-recommends \
RUN apt-get update -qq && apt-get install -y -q --no-install-recommends \
coreutils \
util-linux \
uuid-runtime
Expand Down

0 comments on commit 43cc1ba

Please sign in to comment.