qt
qt copied to clipboard
Old Go version is used in docker images
Docker images, e.g. windows-64-static
, use old Go version (1.13.4). This version has e.g. a problem with HTTP2 support when some sites cannot be accessed with the net/http.Client
yielding EOF
error.
What is the recommended way to use newer Go version with docker images?
Are there any plans on updating Go version in those images?
@MarSoft Hi, did you resolve issue with old version of Go in your project?
I built own docker images and bump Go version:
FROM therecipe/qt:linux_static
RUN rm -rf /usr/local/go && \
GO=go1.17.5.linux-amd64.tar.gz && curl -sL --retry 10 --retry-delay 60 -O https://dl.google.com/go/$GO && tar -xzf $GO -C /usr/local && \
go version
then
docker build -t 4tqrgqe5yrgfd/qt:linux_static -f ./docker/Dockerfile.linux.static .
and build an app via qtdeploy -docker build 4tqrgqe5yrgfd/qt:linux_static