- DIST := debian
- CODE := stretch
- all:
- apt-get download rpki-rp
- docker build --tag rpki-rp --build-arg 'DIST=${DIST}' --build-arg 'CODE=${CODE}' .
- clean:
- git clean -dfx
- base:
- sudo debootstrap ${CODE} ${CODE}
- sudo tar -C ${CODE} -c . | docker import - ${DIST}:${CODE}
- sudo rm -rf ${CODE}
- .PHONY: all clean base
|