Skip to content

[BUG]: make docker-build-img and selects ubuntu reports an error #280

@shuoranliu

Description

@shuoranliu

Describe the bug
make docker-build-img and selects ubuntu reports an error

40.84 To configure your current shell, you need to source
40.84 the corresponding env file under $HOME/.cargo.
40.84
40.84 This is usually done by running one of the following (note the leading DOT):
40.84 . "$HOME/.cargo/env"            # For sh/bash/zsh/ash/dash/pdksh
40.84 source "$HOME/.cargo/env.fish"  # For fish
40.84 source $"($nu.home-path)/.cargo/env.nu"  # For nushell
40.86 /bin/sh: 1: source: not found
------
Dockerfile_ubuntu22:36
--------------------
  35 |     ENV PATH="/root/.cargo/bin:${PATH}"
  36 | >>> RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable && \
  37 | >>>     source $HOME/.cargo/env && \
  38 | >>>     rustup default stable
  39 |
--------------------
ERROR: failed to solve: process "/bin/sh -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable &&     source $HOME/.ca
rgo/env &&     rustup default stable" did not complete successfully: exit code: 127
make: *** [Makefile:88: docker-build-img] Error 1

To Reproduce

  1. make docker-build-img
  2. select 2) Ubuntu 22.04

Expected behavior
Success

Screenshots
If applicable, add screenshots to help explain your problem.

OS Version (please complete the following information):

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions