From 748852b202a94651864245cd4fb362a84d0701e8 Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Tue, 15 Mar 2022 09:56:46 -0400 Subject: docker: update to use Go 1.16 Signed-off-by: Sam Whited --- docker/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index 29ade5b..1994993 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,9 +4,10 @@ FROM ubuntu:20.04 as builder MAINTAINER LEAP Encryption Access Project +ARG GO_VERSION=1.16 LABEL Description="An image to build Bitmask Lite" Vendor="LEAP" Version="1.2" ENV OSXSDK_SHA256="631b4144c6bf75bf7a4d480d685a9b5bda10ee8d03dbf0db829391e2ef858789" \ - PATH="$PATH:/osxcross/target/bin:/usr/lib/go-1.14/bin" + PATH="$PATH:/osxcross/target/bin:/usr/lib/go-${GO_VERSION}/bin" ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get upgrade --yes && \ @@ -26,7 +27,7 @@ RUN apt-get update && apt-get upgrade --yes && \ jq \ squashfs-tools \ qtbase5-dev qttools5-dev-tools qt5-qmake g++ qtdeclarative5-dev qt5-default \ - golang-1.14-go golang-go golang-golang-x-tools-dev && \ + golang-${GO_VERSION}-go golang-go golang-golang-x-tools-dev && \ rm -r /var/lib/apt/lists/* # osx cross compiling -- cgit v1.2.3