mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Move dowloading to dockerfile
This commit is contained in:
parent
92446b1b88
commit
4cdc978636
@ -49,6 +49,13 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
ENV NUM_TRIES=1
|
||||
ENV MAX_RUN_TIME=0
|
||||
|
||||
|
||||
# Download Minio-related binaries
|
||||
RUN wget 'https://dl.min.io/server/minio/release/linux-amd64/minio' \
|
||||
&& chmod +x minio \
|
||||
&& wget 'https://dl.min.io/client/mc/release/linux-amd64/mc' \
|
||||
&& chmod +x ./mc
|
||||
|
||||
ENV MINIO_ROOT_USER=clickhouse
|
||||
ENV MINIO_ROOT_PASSWORD=clickhouse
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
set -e -x -a
|
||||
|
||||
wget 'https://dl.min.io/server/minio/release/linux-amd64/minio'
|
||||
chmod +x minio
|
||||
|
||||
|
||||
|
||||
./minio server --address ":11111" ./data > /dev/null &
|
||||
|
||||
wget 'https://dl.min.io/client/mc/release/linux-amd64/mc'
|
||||
chmod +x ./mc
|
||||
|
||||
|
||||
|
||||
./mc alias set clickminio http://localhost:11111 clickhouse clickhouse
|
||||
./mc admin user add clickminio test testtest
|
||||
|
Loading…
Reference in New Issue
Block a user