zkopru-network / zkopru

Ethereum L2 scaling solution for private transactions using zk-SNARK and optimistic rollup.
https://zkopru.network
GNU General Public License v3.0
216 stars 28 forks source link

Fix docker compose for alpine release v3.16 #394

Closed tkmct closed 2 years ago

tkmct commented 2 years ago

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.

https://alpinelinux.org/posts/Alpine-3.16.0-released.html

sifnoc commented 2 years ago

FYI, It also works with base image node:16-alpine3.15 for me. but we can run with latest(3.16) alpine image with your commits :)

Could you add base image version as explicit? FROM node:16-alpine3.16