Based on the new alpine release, the package repo deprecates python2. Therefore we need to specify specific repository version in docker file when installing python2 by apk add python2.
In addition to that, go get seems not working without env of GO111MODULE=off.
Based on the new alpine release, the package repo deprecates python2. Therefore we need to specify specific repository version in docker file when installing python2 by
apk add python2
. In addition to that, go get seems not working without env ofGO111MODULE=off
.https://alpinelinux.org/posts/Alpine-3.16.0-released.html