ClickHouse/docker/test/integration/mysql_golang_client/Dockerfile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
251 B
Docker
Raw Normal View History

2021-09-06 11:33:39 +00:00
# docker build -t clickhouse/mysql-golang-client .
# MySQL golang client docker container
2022-04-22 15:53:16 +00:00
FROM golang:1.17
2019-04-07 10:29:30 +00:00
2022-04-22 15:53:16 +00:00
WORKDIR /opt
2019-04-07 10:29:30 +00:00
COPY ./main.go main.go
2022-04-22 15:53:16 +00:00
RUN go mod init none \
&& go get github.com/go-sql-driver/mysql@217d05049 \
2022-04-22 15:53:16 +00:00
&& go build main.go