mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
commit
bdf86f3b7a
@ -1,10 +1,12 @@
|
||||
# docker build -t clickhouse/mysql-golang-client .
|
||||
# MySQL golang client docker container
|
||||
|
||||
FROM golang:1.13
|
||||
FROM golang:1.17
|
||||
|
||||
RUN go get "github.com/go-sql-driver/mysql"
|
||||
WORKDIR /opt
|
||||
|
||||
COPY ./main.go main.go
|
||||
|
||||
RUN go build main.go
|
||||
RUN go mod init none \
|
||||
&& go get github.com/go-sql-driver/mysql@217d05049 \
|
||||
&& go build main.go
|
||||
|
@ -1,7 +1,7 @@
|
||||
# docker build -t clickhouse/mysql-php-client .
|
||||
# MySQL PHP client docker container
|
||||
|
||||
FROM php:7.3-cli
|
||||
FROM php:8.0.18-cli
|
||||
|
||||
COPY ./client.crt client.crt
|
||||
COPY ./client.key client.key
|
||||
|
Loading…
Reference in New Issue
Block a user