mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 01:41:59 +00:00
13 lines
251 B
Docker
13 lines
251 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@217d05049 \
|
|
&& go build main.go
|