commit 7b42d81348803af83df7200763422eff78c59f58 (patch) parent bc3fb583425fa79b979a12b08a5784d420432451 Author: Alexander Karle <akarle@umass.edu> Date: Tue, 29 May 2018 13:30:23 -0400 Add basic Dockerfile for testing dotfile install Diffstat:
A | Dockerfile | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,19 @@ +# Start with a base of Ubuntu +FROM ubuntu:xenial + +# Install needed packages +RUN apt-get update +RUN apt-get install -y curl git vim + +# Create new user (makes home + sets bash as shell) +RUN useradd -ms /bin/bash akarle + +# Switch user +USER akarle + +# copy in install script! +WORKDIR /home/akarle +COPY install.sh ./install.sh + +# Start bash on enter +CMD ["/bin/bash"]