Skip to content

Instantly share code, notes, and snippets.

@thebwt
Created December 2, 2015 22:38
Show Gist options
  • Save thebwt/36f8544b9d16c73f0e73 to your computer and use it in GitHub Desktop.
Save thebwt/36f8544b9d16c73f0e73 to your computer and use it in GitHub Desktop.
#base for this release
FROM ubuntu:14.04
#install generic build stuff and clean up the metadata afterwards to keep the image small
RUN apt-get update && apt-get install -y \
build-essential \
git-buildpackage \
debhelper \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
#Setup the ssh info so it can pull from our internal git. Supply your own key.
CMD mkdir /root/.ssh
COPY config /root/.ssh/config
COPY id_rsa /root/.ssh/id_rsa
# #Transfer the build script.
# COPY entrypoint.sh /entrypoint.sh
# ENTRYPOINT ["/entrypoint.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment