blob: fb5eb072250130017b882b76225fb0af696fc97b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
FROM php:5.6-apache
MAINTAINER Guillaume Mazoyer <gmazoyer@gravitons.in>
# Need git
RUN apt-get update && apt-get install -y git
WORKDIR /var/www/html
# Clone repository with given branch
ARG BRANCH=master
ARG URL=https://github.com/respawner/looking-glass.git
RUN git clone --depth 1 $URL -b $BRANCH .
# Get rid of git
RUN apt-get purge -y --auto-remove git
|