PATH changes
This commit is contained in:
parent
04c4ba64c6
commit
074a496f4e
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh -l
|
||||
|
||||
export PATH=$PATH:$HOME/minio-binaries/
|
||||
|
||||
insecure_option=""
|
||||
if [[ "$YA_INSECURE" == "true" ]]; then
|
||||
insecure_option="--insecure"
|
||||
|
|
Loading…
Reference in New Issue