Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Python Integration Tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Python Integration Tests
Merge requests
!44
MAINT: remove manual RUST installation in pipeline
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
MAINT: remove manual RUST installation in pipeline
f-pipeline
into
dev
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
MAINT: remove manual RUST installation in pipeline
Henrik tom Wörden
requested to merge
f-pipeline
into
dev
Oct 4, 2022
Overview
0
Commits
1
Pipelines
1
Changes
2
0
0
Merge request reports
Compare
dev
version 1
e589e92d
Oct 4, 2022
dev (base)
and
latest version
latest version
e589e92d
1 commit,
Oct 4, 2022
version 1
e589e92d
10 commits,
Oct 4, 2022
2 files
+
8
−
34
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
.docker-base/Dockerfile
+
1
−
27
View file @ e589e92d
Edit in single-file editor
Open in Web IDE
Show full file
# Use docker as parent image
FROM
docker:20.10.
3
FROM
docker:20.10.
18
# http://bugs.python.org/issue19846
ENV
LANG C.UTF-8
@@ -11,32 +11,6 @@ RUN apk add --no-cache libffi-dev openssl-dev libc-dev libxslt libxslt-dev \
libxml2 libxml2-dev
RUN
apk add
--no-cache
ca-certificates
# install rust (needed for compiling a docker-compose dependency)
# This is necessary until alpine comes with an up to date RUST
# copied from https://github.com/rust-lang/docker-rust/blob/bbc7feb12033da3909dced4e88ddbb6964fbc328/1.50.0/alpine3.13/Dockerfile
ENV
RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
RUST_VERSION=1.50.0
RUN
set
-eux
;
\
apkArch
=
"
$(
apk
--print-arch
)
"
;
\
case
"
$apkArch
"
in
\
x86_64
)
rustArch
=
'x86_64-unknown-linux-musl'
;
rustupSha256
=
'05c5c05ec76671d73645aac3afbccf2187352fce7e46fc85be859f52a42797f6'
;;
\
aarch64
)
rustArch
=
'aarch64-unknown-linux-musl'
;
rustupSha256
=
'6a8a480d8d9e7f8c6979d7f8b12bc59da13db67970f7b13161ff409f0a771213'
;;
\
*
)
echo
>
&2
"unsupported architecture:
$apkArch
"
;
exit
1
;;
\
esac
;
\
url
=
"https://static.rust-lang.org/rustup/archive/1.23.1/
${
rustArch
}
/rustup-init"
;
\
wget
"
$url
"
;
\
echo
"
${
rustupSha256
}
*rustup-init"
|
sha256sum
-c
-
;
\
chmod
+x rustup-init
;
\
./rustup-init
-y
--no-modify-path
--profile
minimal
--default-toolchain
$RUST_VERSION
--default-host
${
rustArch
}
;
\
rm
rustup-init
;
\
chmod
-R
a+w
$RUSTUP_HOME
$CARGO_HOME
;
\
rustup
--version
;
\
cargo
--version
;
\
rustc
--version
;
RUN
pip3
install
wheel
Loading