GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mono-docker-config/Dockerfile at master · ServiceStackApps/mono-docker-config

Expand file tree

/

Dockerfile

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
46 lines (39 loc) · 1.82 KB
/

Dockerfile

Copy path

File metadata and controls

46 lines (39 loc) · 1.82 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM ubuntu:14.04
MAINTAINER Sergey Zhukov [email protected]
#create directories
WORKDIR "/home"
RUN mkdir -p hfc-install && cd hfc-install && mkdir -p config
ENV USERHFCPORT 9000
ENV USERSITE www.test.com
ENV USERLOCATION /var/www/hello-app
WORKDIR "/home/hfc-install"
#getting templates
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN sudo apt-get -qqq update && sudo apt-get install -y curl
RUN curl -sL https://github.com/ServiceStackApps/mono-server-config/raw/master/nginx-config/hello-app.conf.tpl -o config/hello-app.conf.tpl
RUN curl -sL https://github.com/ServiceStackApps/mono-server-config/raw/master/hfc-config/hfc.config.tpl -o config/hfc.config.tpl
RUN sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
RUN echo "Updating repositories..."
RUN sudo apt-get -qqq update
RUN echo "Installing mono..."
RUN sudo apt-get install -y -q mono-complete
#installing nginx
RUN echo "Installing nginx..."
RUN sudo apt-get install -y nginx
#installing HyperFastCGI
RUN echo "Installing HyperFastCGI"
#libtool-bin is required by Ubuntu 15.10 This package does not exist in Ubuntu 14.04 and lower
RUN sudo apt-get install -y git autoconf automake libtool make libglib2.0-dev libevent-dev
RUN git clone https://github.com/xplicit/hyperfastcgi
#double call for autogen.sh Workaround for weird error 'cannot find Makefile.in' while writing config.status
WORKDIR "/home/hfc-install/hyperfastcgi"
RUN ./autogen.sh --prefix=/usr || true
RUN ./autogen.sh --prefix=/usr && make && sudo make install
#RUN cd ..
EXPOSE 80
VOLUME ["/var/www"]
WORKDIR "/home"
COPY entrypoint.sh entrypoint.sh
RUN chmod a+x entrypoint.sh
ENTRYPOINT "/home/entrypoint.sh"
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.