mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Create Dockerfile
This commit is contained in:
parent
889c7c68fc
commit
5fd59d2b6d
1 changed files with 32 additions and 0 deletions
32
Dockerfile
Normal file
32
Dockerfile
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
#
|
||||||
|
# Ubuntu Dockerfile
|
||||||
|
#
|
||||||
|
# https://github.com/dockerfile/ubuntu
|
||||||
|
#
|
||||||
|
|
||||||
|
# Pull base image.
|
||||||
|
FROM ubuntu:14.04
|
||||||
|
|
||||||
|
# Install.
|
||||||
|
RUN \
|
||||||
|
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get -y upgrade && \
|
||||||
|
apt-get install -y build-essential && \
|
||||||
|
apt-get install -y software-properties-common && \
|
||||||
|
apt-get install -y byobu curl git htop man unzip vim wget && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Add files.
|
||||||
|
ADD root/.bashrc /root/.bashrc
|
||||||
|
ADD root/.gitconfig /root/.gitconfig
|
||||||
|
ADD root/.scripts /root/.scripts
|
||||||
|
|
||||||
|
# Set environment variables.
|
||||||
|
ENV HOME /root
|
||||||
|
|
||||||
|
# Define working directory.
|
||||||
|
WORKDIR /root
|
||||||
|
|
||||||
|
# Define default command.
|
||||||
|
CMD ["bash"]
|
Loading…
Reference in a new issue