add build dockerfile for linux, adjust for influx reconnect, readme
This commit is contained in:
11
build/Dockerfile.build
Normal file
11
build/Dockerfile.build
Normal file
@@ -0,0 +1,11 @@
|
||||
# build Golang app for Linux
|
||||
FROM golang:1.20
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# get gcc-multilib and gcc-mingw-w64
|
||||
RUN apt update
|
||||
RUN apt install -y gcc-multilib gcc-mingw-w64
|
||||
|
||||
CMD ["/bin/sh"]
|
||||
|
||||
Reference in New Issue
Block a user