qt icon indicating copy to clipboard operation
qt copied to clipboard

Old Go version is used in docker images

Open MarSoft opened this issue 3 years ago • 2 comments

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 avatar Jul 13 '21 15:07 MarSoft

@MarSoft Hi, did you resolve issue with old version of Go in your project?

ChugunovRoman avatar Dec 22 '21 14:12 ChugunovRoman

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

ChugunovRoman avatar Dec 22 '21 18:12 ChugunovRoman