Created
March 12, 2015 16:30
-
-
Save solarce/864e41fe67505826f7ff to your computer and use it in GitHub Desktop.
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
# Ubuntu Precise full with pkgsrc bootstrapped into /home/ubuntu | |
FROM solarce/dockerfile-ubuntu-precise-full:latest | |
MAINTAINER Brandon Burton <[email protected]> | |
ENV DEBIAN_FRONTEND noninteractive | |
# Setup pkgsrc | |
# Steps modified from http://www.codeghar.com/blog/pkgsrc-on-linux-quickstart-guide.html | |
RUN adduser --shell /bin/bash --gecos "User for builds" --disabled-password --home /home/ubuntu ubuntu | |
ENV BUILD_DIR /home/ubuntu | |
USER ubuntu | |
WORKDIR $BUILD_DIR | |
RUN git clone --depth 1 https://github.com/jsonn/pkgsrc.git | |
ENV SH /bin/bash | |
RUN cd $BUILD_DIR/pkgsrc/bootstrap && ./bootstrap --unprivileged --prefix=$BUILD_DIR/opt --workdir=$BUILD_DIR/work | |
RUN ls $BUILD_DIR/opt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment