Add doc and testing package with generations instead of pull.
This commit is contained in:
parent
6c4fc12d8b
commit
bba0174094
@ -67,7 +67,7 @@ RUN mkdir -p /gnu/store \
|
||||
RUN --security=insecure /entry-point.sh guix pull
|
||||
|
||||
# Restart with latest version of the daemon
|
||||
RUN --security=insecure /entry-point.sh guix pull --delete-generations \
|
||||
RUN --security=insecure /entry-point.sh guix package --delete-generations \
|
||||
&& guix gc --delete-generations \
|
||||
&& guix gc --optimize \
|
||||
&& guix gc
|
||||
|
@ -19,8 +19,19 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
# Load profile enviroment variables
|
||||
source $GUIX_PROFILE/etc/profile
|
||||
|
||||
# Run guix daemon
|
||||
/root/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild &
|
||||
GUIX_DAEMON=$!
|
||||
|
||||
# Execute commands
|
||||
exec "$@"
|
||||
GUIX_RESULT=$?
|
||||
|
||||
# Kill guix daemon
|
||||
kill -9 $GUIX_DAEMON
|
||||
|
||||
# Exit with guix status
|
||||
exit $GUIX_RESULT
|
||||
|
Loading…
Reference in New Issue
Block a user