riking / AutoDelete

A Discord bot that automatically deletes all messages in a designated channel on a rolling basis
Apache License 2.0
328 stars 117 forks source link

Disable module mode so docker image builds #38

Open Ashex opened 2 years ago

Ashex commented 2 years ago

As of go 1.16 module mode defaults to on which breaks the docker build since it depends on this being disabled.

This change set GO111MODULE to off so that it's installed to src.

I would recommend pinning the go image to a specific version to prevent further issues.