Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KNIGHT
Asyst Moodle Plugin
Commits
62fc8d34
Commit
62fc8d34
authored
Jan 07, 2025
by
Artem Baranovskyi
Browse files
Image build is optimized.
parent
85e9e6b2
Pipeline
#10750
failed with stages
in 3 minutes and 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
flask_ml_api/Dockerfile
View file @
62fc8d34
...
@@ -2,6 +2,7 @@ FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime as build
...
@@ -2,6 +2,7 @@ FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime as build
RUN
apt-get update
&&
apt-get
install
-y
curl
RUN
apt-get update
&&
apt-get
install
-y
curl
RUN
curl
--proto
'=https'
--tlsv1
.2
-sSf
https://sh.rustup.rs
-o
/usr/local/bin/rustup-init.sh
RUN
curl
--proto
'=https'
--tlsv1
.2
-sSf
https://sh.rustup.rs
-o
/usr/local/bin/rustup-init.sh
RUN
chmod
+x /usr/local/bin/rustup-init.sh
RUN
/usr/local/bin/rustup-init.sh
-y
--default-toolchain
none
RUN
/usr/local/bin/rustup-init.sh
-y
--default-toolchain
none
RUN
/usr/local/bin/rustup toolchain
install
stable
--profile
minimal
--no-self-update
RUN
/usr/local/bin/rustup toolchain
install
stable
--profile
minimal
--no-self-update
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment