Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixmoebius
libc
Commits
c1fa4b68
Commit
c1fa4b68
authored
7 years ago
by
Wesley Moore
Browse files
Options
Downloads
Patches
Plain Diff
Update FreeBSD docker CI to use FreeBSD 11.1 image
parent
d3e6651f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci/docker/x86_64-unknown-freebsd/Dockerfile
+4
-4
4 additions, 4 deletions
ci/docker/x86_64-unknown-freebsd/Dockerfile
ci/run.sh
+7
-0
7 additions, 0 deletions
ci/run.sh
with
11 additions
and
4 deletions
ci/docker/x86_64-unknown-freebsd/Dockerfile
+
4
−
4
View file @
c1fa4b68
FROM
alexcrichton
/port-prebuilt-freebsd
:2017-09-16
FROM
wezm
/port-prebuilt-freebsd
11@sha256:43553e2265ec702ec72a63a765df333f50b1858b896e69385749e96d8624e9b0
RUN
apt-get update
RUN
apt-get update
RUN
apt-get
install
-y
--no-install-recommends
\
RUN
apt-get
install
-y
--no-install-recommends
\
qemu genext2fs
qemu genext2fs
xz-utils
RUN
apt-get
install
-y
curl ca-certificates gcc
RUN
apt-get
install
-y
curl ca-certificates gcc
ENTRYPOINT
["sh"]
ENTRYPOINT
["sh"]
ENV
PATH=$PATH:/rust/bin \
ENV
PATH=$PATH:/rust/bin \
QEMU=201
6-11-06/freebsd
.qcow2.
g
z \
QEMU=201
8-03-15/FreeBSD-11.1-RELEASE-amd64
.qcow2.
x
z \
CAN_CROSS=1 \
CAN_CROSS=1 \
CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=x86_64-unknown-freebsd1
0
-gcc
CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=x86_64-unknown-freebsd1
1
-gcc
This diff is collapsed.
Click to expand it.
ci/run.sh
+
7
−
0
View file @
c1fa4b68
...
@@ -24,6 +24,13 @@ if [ "$QEMU" != "" ]; then
...
@@ -24,6 +24,13 @@ if [ "$QEMU" != "" ]; then
curl https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc/
$QEMU
|
\
curl https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc/
$QEMU
|
\
gunzip
-d
>
$tmpdir
/
$qemufile
gunzip
-d
>
$tmpdir
/
$qemufile
fi
fi
elif
[
-z
"
${
QEMU
#*.xz
}
"
]
;
then
# image is .xz : download and uncompress it
qemufile
=
$(
echo
${
QEMU
%.xz
}
|
sed
's/\//__/g'
)
if
[
!
-f
$tmpdir
/
$qemufile
]
;
then
curl https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc/
$QEMU
|
\
unxz
>
$tmpdir
/
$qemufile
fi
else
else
# plain qcow2 image: just download it
# plain qcow2 image: just download it
qemufile
=
$(
echo
${
QEMU
}
|
sed
's/\//__/g'
)
qemufile
=
$(
echo
${
QEMU
}
|
sed
's/\//__/g'
)
...
...
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