PATH changes

This commit is contained in:
Vladimir Levin 2023-08-06 17:34:47 +09:00
parent 04c4ba64c6
commit 074a496f4e
2 changed files with 2 additions and 3 deletions

View File

@ -4,11 +4,8 @@ LABEL authors="Vladimir <opa_oz> Levin"
RUN curl https://dl.min.io/client/mc/release/linux-amd64/mc \
--create-dirs \
-o $HOME/minio-binaries/mc
RUN chmod +x $HOME/minio-binaries/mc
RUN export PATH=$PATH:$HOME/minio-binaries/
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

View File

@ -1,5 +1,7 @@
#!/bin/sh -l
export PATH=$PATH:$HOME/minio-binaries/
insecure_option=""
if [[ "$YA_INSECURE" == "true" ]]; then
insecure_option="--insecure"