@@ -12,6 +12,4 @@ SHELL ["/bin/bash", "-c"]
|
|||||||
|
|
||||||
RUN rustup-init -y
|
RUN rustup-init -y
|
||||||
ENV HOME="/home/test"
|
ENV HOME="/home/test"
|
||||||
ENV PATH="/home/test/.cargo/bin:foobug:$PATH"
|
ENV PATH="/home/test/.cargo/bin:$PATH"
|
||||||
RUN echo "$PATH"
|
|
||||||
RUN echo "$HOME"
|
|
||||||
|
|||||||
@@ -17,14 +17,6 @@ steps:
|
|||||||
image: git.firechicken.net/fedichat/rust_builder:latest
|
image: git.firechicken.net/fedichat/rust_builder:latest
|
||||||
pull: true
|
pull: true
|
||||||
#entrypoint: ["/bin/bash","-x", "-c", "echo $CI_SCRIPT | base64 -d | /bin/bash -e"]
|
#entrypoint: ["/bin/bash","-x", "-c", "echo $CI_SCRIPT | base64 -d | /bin/bash -e"]
|
||||||
entrypoint: ["/bin/bash","-c", "echo $PATH"]
|
#entrypoint: ["/bin/bash","-c", "echo $PATH"]
|
||||||
commands:
|
commands:
|
||||||
- pwd
|
|
||||||
- ls -a
|
|
||||||
- echo $PATH
|
|
||||||
- echo $USER
|
|
||||||
- cat /etc/profile
|
|
||||||
- ls -a /home/test/.cargo/bin
|
|
||||||
- cat /home/test/.cargo/env
|
|
||||||
- echo $HOME
|
|
||||||
- cargo build
|
- cargo build
|
||||||
|
|||||||
Reference in New Issue
Block a user