ClickHouse/docker/test/integration/mysql_golang_client/Dockerfile
2022-04-22 23:02:22 +02:00

13 lines
248 B
Docker

# docker build -t clickhouse/mysql-golang-client .
# MySQL golang client docker container
FROM golang:1.17
WORKDIR /opt
COPY ./main.go main.go
RUN go mod init none \
&& go get github.com/go-sql-driver/mysql@master \
&& go build main.go