Created
November 19, 2014 12:50
-
-
Save prologic/b1a282bb7979c2c5af51 to your computer and use it in GitHub Desktop.
Rough idea of prttest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PORT=$(dirname pwd) | |
cat - > Dockerfile <<EOF | |
FROM crux/base | |
VOLUME /usr/ports/contrib/test | |
RUN ports -u && prt-get cache | |
WORKDIR /usr/ports/contrib/test | |
COPY . / | |
RUN prt-get cache | |
RUN prt-get depinst ${PORT} | |
EOF | |
docker build -t ${PORT} . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment