From 185971116dd20ba540272de94c8ef70023772a50 Mon Sep 17 00:00:00 2001 From: Anton Belodedenko <2033996+ab77@users.noreply.github.com> Date: Wed, 5 Jul 2023 15:34:11 -0700 Subject: [PATCH] downgrade golang:1.20.4 * build against GLIBC 2.31 to maintain compatibility with balena-proxy running in debian:bullseye * build dynamic binary change-type: patch --- Dockerfile | 2 +- docker-compose.test.yml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 035cdd3..d2ed199 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1 @@ -FROM golang:1.20.5 +FROM golang:1.20.4 diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 4c3279f..026a96d 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -3,16 +3,13 @@ version: "2.4" services: sut: - image: golang:1.20.5 + image: golang:1.20.4 volumes: - .:/go/src/github.com/balena-io/sshproxy working_dir: /go/src/github.com/balena-io/sshproxy entrypoint: - /bin/bash - "-c" - environment: - # make static binary - CGO_ENABLED: 0 command: - | set -axe