Add TODO file and push script for DockerHub.

This commit is contained in:
viferga 2019-09-18 15:35:53 -08:00
parent 0d810c9bd7
commit 1a55780393
2 changed files with 6 additions and 2 deletions

@ -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

@ -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/).