Update .gitpod.Dockerfile

This commit is contained in:
undefined authored and GitHub committed 2021-04-09 23:11:46 +08:00
1 parent a56af1387e
commit 1518f31f60
1 file changed
+4 -4
+4 -4
View File
@@ -1,9 +1,9 @@
FROM gitpod/workspace-mongodb FROM gitpod/workspace-mongodb
RUN yarn global add pm2 && \ RUN yarn global add pm2 && \
wget https://dl.min.io/server/minio/release/linux-amd64/minio -O /usr/bin/minio wget https://dl.min.io/server/minio/release/linux-amd64/minio -O /usr/bin/minio && \
chmod 755 /usr/bin/minio chmod 755 /usr/bin/minio && \
apt-get update && \ apt-get update && \
apt-get install clang -y && \ apt-get install clang -y && \
cargo install sonic-server && \ cargo install sonic-server && \
echo '{"host":"127.0.0.1","port":"27017","name":"hydro","username":"","password":""}' >/home/gitpod/.hydro/config.json echo '{"host":"127.0.0.1","port":"27017","name":"hydro","username":"","password":""}' >/home/gitpod/.hydro/config.json && \
echo "MINIO_ACCESS_KEY=hydro\nMINIO_SECRET_KEY=hydrohydro" >/home/gitpod/.hydro/env echo "MINIO_ACCESS_KEY=hydro\nMINIO_SECRET_KEY=hydrohydro" >/home/gitpod/.hydro/env