Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
docker
Commits
291b8952
Commit
291b8952
authored
4 months ago
by
PRUVOST Florent
Browse files
Options
Downloads
Patches
Plain Diff
Add a dockerfile recipe for guix
parent
186cf3d5
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
deprecated/dockerfile-ci
+0
-0
0 additions, 0 deletions
deprecated/dockerfile-ci
deprecated/dockerfile-distrib
+0
-0
0 additions, 0 deletions
deprecated/dockerfile-distrib
deprecated/dockerfile-vite
+0
-0
0 additions, 0 deletions
deprecated/dockerfile-vite
dockerfile-guix
+28
-0
28 additions, 0 deletions
dockerfile-guix
with
28 additions
and
0 deletions
dockerfile-ci
→
deprecated/
dockerfile-ci
+
0
−
0
View file @
291b8952
File moved
This diff is collapsed.
Click to expand it.
dockerfile-distrib
→
deprecated/
dockerfile-distrib
+
0
−
0
View file @
291b8952
File moved
This diff is collapsed.
Click to expand it.
dockerfile-vite
→
deprecated/
dockerfile-vite
+
0
−
0
View file @
291b8952
File moved
This diff is collapsed.
Click to expand it.
dockerfile-guix
0 → 100644
+
28
−
0
View file @
291b8952
FROM ubuntu
USER root
RUN apt-get -y update
# Install dependencies to install guix
RUN apt-get -y upgrade --no-install-recommends ca-certificates gpg gpg-agent gnupg-utils netbase tar wget xz-utils
RUN update-ca-certificates
RUN wget https://ci.guix.gnu.org/search/latest/archive?query=spec:tarball+status:success+system:x86_64-linux+guix-binary.tar.xz -O guix-binary.tar.xz
ENV GUIX_BINARY_FILE_NAME /guix-binary.tar.xz
RUN wget "https://sv.gnu.org/people/viewgpg.php?user_id=15145" -O - | gpg --import -
# Install guix
RUN cd /tmp && \
wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh && \
chmod +x guix-install.sh && \
yes '' | ./guix-install.sh
# Authorize substitutes
RUN guix archive --authorize < /var/guix/profiles/per-user/root/current-guix/share/guix/ci.guix.gnu.org.pub
RUN guix archive --authorize < /var/guix/profiles/per-user/root/current-guix/share/guix/bordeaux.guix.gnu.org.pub
# Install other useful linux packages
RUN apt-get -y upgrade --no-install-recommends bash bzip2 curl git jq unzip vim
# Clean
# RUN apt-get autoremove -y
# RUN apt-get autoclean -y
# RUN apt-get purge -y
# Execute this first before executing guix commands:
#/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild --disable-chroot --substitute-urls='https://bordeaux.guix.gnu.org https://ci.guix.gnu.org https://guix.bordeaux.inria.fr' &
\ 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