Public Repository

Last pushed: 2 years ago
Short Description
Dockerfile
Full Description
# Getting Base Image
FROM ubuntu:latest

# Author Info
MAINTAINER takatori

RUN apt-get update
RUN apt-get install -y vim
RUN apt-get install -y curl
RUN touch /etc/apt/sources.list.d/nginx.list
RUN echo "deb http://nginx.org/packages/ubuntu/ precise nginx" >> /etc/apt/sources.list.d/nginx.list
RUN echo "deb-src http://nginx.org/packages/ubuntu/ precise nginx" >> /etc/apt/sources.list.d/nginx.list
RUN curl http://nginx.org/keys/nginx_signing.key | apt-key add -
RUN apt-get update
RUN apt-get install -y nginx

# Port
EXPOSE 22 80

CMD ["echo", "running!"]
Docker Pull Command
Owner
toricoro

Comments (0)