Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Rust CI Image
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Infrastructure Components
Rust CI Image
Commits
85228a2e
Verified
Commit
85228a2e
authored
1 month ago
by
Louis
Browse files
Options
Downloads
Patches
Plain Diff
Use root folder for node & cargo bin folders
parent
32c1e011
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#725
passed with stage
in 6 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
with
2 additions
and
2 deletions
Dockerfile
+
2
−
2
View file @
85228a2e
...
...
@@ -11,7 +11,7 @@ RUN apt-get update && \
apt-get
install
-y
sudo
curl wget zip unzip make build-essential clang rustup libpq-dev libsqlite3-dev
&&
\
rm
-rf
/var/lib/apt/lists/
*
ENV
NVM_DIR=/
home/${USERNAME}
/.nvm
ENV
NVM_DIR=/
root
/.nvm
RUN
curl
-o-
https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
...
...
@@ -29,4 +29,4 @@ RUN cargo install cross --git https://github.com/cross-rs/cross
COPY
--from=docker_host /usr/local/bin/docker /usr/local/bin/docker
ENV
CROSS_CONTAINER_IN_CONTAINER=true
ENV
PATH="${PATH}:/home/${USERNAME}/.cargo/bin:${NVM_DIR}/versions/node/v${NODE_VERSION}/bin/"
\ No newline at end of file
ENV
PATH="${PATH}:/root/.cargo/bin:${NVM_DIR}/versions/node/v${NODE_VERSION}/bin/"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment