0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 15:09:10 -05:00

Minor fixes on devenv dockerfile

This commit is contained in:
Andrey Antukh 2022-03-20 13:37:37 +01:00
parent 7f3c67724e
commit 81adcd03fb

View file

@ -159,12 +159,9 @@ RUN set -ex; \
rm -rf /tmp/babashka.tar.gz; rm -rf /tmp/babashka.tar.gz;
RUN set -ex; \ RUN set -ex; \
curl -LfsSo /usr/bin/local/mc https://dl.min.io/client/mc/release/linux-amd64/mc; \ curl -LfsSo /tmp/mc https://dl.min.io/client/mc/release/linux-amd64/mc --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15"; \
chmod +x /usr/bin/local/mc; \ mv /tmp/mc /usr/local/bin/; \
/usr/bin/local/mc alias set penpot-s3/ http://minio:9000 minioadmin minioadmin; \ chmod +x /usr/local/bin/mc;
/usr/bin/local/mc admin user add penpot-s3 penpot-devenv penpot-devenv; \
/usr/bin/local/mc admin policy set penpot-s3 readwrite user=penpot-devenv; \
/usr/bin/local/mc mb penpot-s3/penpot -p;
WORKDIR /home WORKDIR /home