mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-01-15 19:06:17 +00:00
fix rm -rf
This commit is contained in:
@@ -135,9 +135,9 @@ docker_build_image() {
|
|||||||
echo 'ENV PATH="/root/.cargo/bin:$PATH"'
|
echo 'ENV PATH="/root/.cargo/bin:$PATH"'
|
||||||
local cargoInst=''
|
local cargoInst=''
|
||||||
cargoInst+='curl https://sh.rustup.rs -sSf | bash -s -- -y'
|
cargoInst+='curl https://sh.rustup.rs -sSf | bash -s -- -y'
|
||||||
cargoInst+='&& rustup update stable'
|
cargoInst+=' && rustup update stable'
|
||||||
cargoInst+='&& cargo install cargo-c'
|
cargoInst+=' && cargo install cargo-c'
|
||||||
cargoInst+='&& rm -rf "${CARGO_HOME}"/registry "${CARGO_HOME}"/git'
|
cargoInst+=' && rm -rf "${CARGO_HOME}"/registry "${CARGO_HOME}"/git'
|
||||||
echo "RUN ${cargoInst}"
|
echo "RUN ${cargoInst}"
|
||||||
# since any user may run this image,
|
# since any user may run this image,
|
||||||
# open up root tools to everyone
|
# open up root tools to everyone
|
||||||
|
|||||||
Reference in New Issue
Block a user