Skip to content

Commit

Permalink
Fix docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Nov 21, 2023
1 parent 1329201 commit e06c557
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/docker/archlinux-base-devel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN echo "#### Installing dependencies" \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --no-modify-path \
&& echo "#### Checking Rust version" \
&& export INSTALLED_RUST_VERSION=$(rustc --version | cut -d' ' -f2) \
&& export EXPECTED_RUST_VERSION="1.73.0" \
&& export EXPECTED_RUST_VERSION=1.73.0 \
&& if [ "${INSTALLED_RUST_VERSION}" != "${EXPECTED_RUST_VERSION}" ]; then \
echo "Warning! Expected version is '${EXPECTED_RUST_VERSION}' but '${INSTALLED_RUST_VERSION}' is found!"; \
fi \
Expand Down
2 changes: 1 addition & 1 deletion internal/docker/ubuntu-22.04
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN echo "#### Installing dependencies" \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --no-modify-path \
&& echo "#### Checking Rust version" \
&& export INSTALLED_RUST_VERSION=$(rustc --version | cut -d' ' -f2) \
&& export EXPECTED_RUST_VERSION="1.73.0" \
&& export EXPECTED_RUST_VERSION=1.73.0 \
&& if [ "${INSTALLED_RUST_VERSION}" != "${EXPECTED_RUST_VERSION}" ]; then \
echo "Warning! Expected version is '${EXPECTED_RUST_VERSION}' but '${INSTALLED_RUST_VERSION}' is found!"; \
fi \
Expand Down
2 changes: 1 addition & 1 deletion internal/docker/windowsservercore-2019
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN choco install -y rustup.install; \
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1; \
refreshenv; \
$INSTALLED_RUST_VERSION=(rustc --version) -split ' ' | Select-Object -Index 1; \
$EXPECTED_RUST_VERSION='1.73.0'; \
$EXPECTED_RUST_VERSION=1.73.0 \
if ($INSTALLED_RUST_VERSION -ne $EXPECTED_RUST_VERSION) { \
Write-Host "Warning! Expected version is \"$EXPECTED_RUST_VERSION\" but \"$INSTALLED_RUST_VERSION\" is found!"; \
} \
Expand Down

0 comments on commit e06c557

Please sign in to comment.