Compare commits
3 Commits
a46ace63db
...
6a1565e246
Author | SHA1 | Date |
---|---|---|
Collin J. Doering | 6a1565e246 | |
Collin J. Doering | ee4497528b | |
Collin J. Doering | 6272f96bd1 |
|
@ -6,23 +6,6 @@ jobs:
|
|||
Build:
|
||||
runs-on: guix
|
||||
steps:
|
||||
- name: Env
|
||||
run: env
|
||||
- name: Debug cert paths
|
||||
run: |
|
||||
ls -l /etc/ssl
|
||||
echo ---
|
||||
ls -l /etc/ssl/certs/ca-certificates.crt
|
||||
echo ---
|
||||
head /etc/ssl/certs/ca-certificates.crt
|
||||
- name: Git Version
|
||||
run: git --version
|
||||
- name:
|
||||
env:
|
||||
GIT_CURL_VERBOSE: 1
|
||||
GIT_TRACE: 1
|
||||
GIT_SSL_CAINFO: /guix-builder/etc/ssl/certs/ca-certificates.crt
|
||||
run: git clone https://git.home.rekahsoft.ca/${{ gitea.repository }}
|
||||
- name: Check out repository code
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
- name: Build preparation
|
||||
|
|
|
@ -53,7 +53,6 @@ the following volumes are expected to be mounted.
|
|||
|
||||
- ~/var/guix/daemon-socket/socket~ :: the ~guix-daemon~ socket
|
||||
- ~/gnu/store~ :: The hosts guix store
|
||||
- ~/etc/ssl~ :: The hosts ssl certificates (required for ~guix time-machine ...~ commands)
|
||||
|
||||
Additionally, for ~guix~ to function appropriately, the ~HOME~ environment variable must be
|
||||
set. This allows guix to store its cache (mandatory for many operations, eg ~guix pull~).
|
||||
|
@ -62,9 +61,8 @@ invocations. To do so, mount a volume to ~$HOME/.cache/guix~ (replacing ~$HOME~
|
|||
will be set to within the container).
|
||||
|
||||
SSL certificates are included and configured for use in the container (via the ~nss-certs~
|
||||
package). Its important to note that if a users mounts their guix hosts certificates, they
|
||||
must also mount its store as the certificate files in /etc/ssl/certs will be links to files
|
||||
in the store.
|
||||
package). Its not supported to use your hosts certificates, as they may be incompatible with
|
||||
openssl inside of the container.
|
||||
|
||||
A complete example is given below, where the aforementioned volumes are mounted, ~HOME~ is
|
||||
set to ~/tmp~, and a volume for retaining the guix cache between invocations is put in place.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
(specifications->manifest
|
||||
(list "make"
|
||||
"tar"
|
||||
"gzip"
|
||||
"docker-cli"))
|
||||
|
|
Loading…
Reference in New Issue