Add TODO file and push script for DockerHub.
This commit is contained in:
parent
0d810c9bd7
commit
1a55780393
@ -58,10 +58,11 @@ script:
|
||||
- sh -c 'while true; do echo "."; sleep 300; done' &
|
||||
- TRAVIS_POLL=$!
|
||||
- echo "Polling process pid (${TRAVIS_POLL})"
|
||||
- docker buildx build --allow security.insecure --build-arg METACALL_GUIX_VERSION="1.0.1" --build-arg METACALL_GUIX_ARCH="x86_64" . > logs 2>&1
|
||||
- docker buildx build --tag metacall/guix --allow security.insecure --build-arg METACALL_GUIX_VERSION="1.0.1" --build-arg METACALL_GUIX_ARCH="x86_64" . > logs 2>&1
|
||||
- tail -n 500 logs
|
||||
- kill -9 ${TRAVIS_POLL}
|
||||
|
||||
# Upload the built images to DockerHub
|
||||
after_script:
|
||||
# TODO
|
||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
- docker push metacall/guix
|
||||
|
3
TODO
Normal file
3
TODO
Normal file
@ -0,0 +1,3 @@
|
||||
- Produce a self contained image of GuixSD inside Docker removing Alpine from base image and using scratch. Possible solution:
|
||||
* Multi-build stage and using GuixSD to pack itself. Then create a layer with GuixSD files only.
|
||||
- Implement multi-platform builds (https://github.com/docker/buildx) and (https://ftp.gnu.org/gnu/guix/).
|
Loading…
Reference in New Issue
Block a user