diff --git a/.dockerignore b/.dockerignore index c95cd4c..1a23340 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ ** +!channels !scripts diff --git a/Dockerfile b/Dockerfile index 8b5f3dc..dc177fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,6 +65,9 @@ RUN mkdir -p /gnu/store \ && source $GUIX_PROFILE/etc/profile \ && guix archive --authorize < /root/.config/guix/current/share/guix/ci.guix.gnu.org.pub +# Copy additional channels +COPY channels/ /root/.config/guix/ + # Run pull (https://github.com/docker/buildx/blob/master/README.md#--allowentitlement) RUN --security=insecure /entry-point.sh guix pull diff --git a/channels/channels.scm b/channels/channels.scm new file mode 100644 index 0000000..7078a12 --- /dev/null +++ b/channels/channels.scm @@ -0,0 +1,31 @@ +; +; MetaCall Guix by Parra Studios +; Docker image for using Guix in a CI/CD environment. +; +; Copyright (C) 2016 - 2020 Vicente Eduardo Ferrer Garcia +; +; Licensed under the Apache License, Version 2.0 (the "License"); +; you may not use this file except in compliance with the License. +; You may obtain a copy of the License at +; +; http://www.apache.org/licenses/LICENSE-2.0 +; +; Unless required by applicable law or agreed to in writing, software +; distributed under the License is distributed on an "AS IS" BASIS, +; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +; See the License for the specific language governing permissions and +; limitations under the License. +; + +(list (channel + (name 'guix) + (url "https://git.savannah.gnu.org/git/guix.git") + (branch "master") + (commit "1a9ebe3b0aa12584624dfa811c480c636a56e1b4")) +; TODO: +; (channel +; (name 'nonguix) +; (url "https://gitlab.com/nonguix/nonguix.git") +; (branch "master") +; (commit "95adb6ec077dc4139cf7e1956ad5caa1ff08f92b")) + )