Skip to content

Commit d58ef06

Browse files
committed
refactoring some containers
1 parent 462b568 commit d58ef06

3 files changed

Lines changed: 18 additions & 12 deletions

File tree

beanstalkd-console/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ RUN apt-get update && apt-get install -y curl
77
RUN curl -sL https://github.com/ptrofimov/beanstalk_console/archive/master.tar.gz | tar xvz -C /tmp
88
RUN mv /tmp/beanstalk_console-master /source
99

10-
RUN apt-get remove --purge -y curl && apt-get autoclean && apt-get clean
11-
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
10+
RUN apt-get remove --purge -y curl &&
11+
apt-get autoclean &&
12+
apt-get clean &&
13+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1214

1315
EXPOSE 2080
1416

15-
CMD bash -c 'BEANSTALK_SERVERS=$BEANSTALKD_PORT_11300_TCP_ADDR:11300 php -S 0.0.0.0:2080 -t /source/public'
17+
CMD bash -c 'BEANSTALK_SERVERS=$BEANSTALKD_PORT_11300_TCP_ADDR:11300 php -S 0.0.0.0:2080 -t /source/public'

caddy/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
FROM alpine:3.4
2+
23
MAINTAINER Eric Pfeiffer <computerfr33k@users.noreply.github.com>
34

45
LABEL caddy_version="0.9.0" architecture="amd64"
56

67
RUN apk update \
7-
&& apk upgrade \
8-
&& apk add tar curl
8+
&& apk upgrade \
9+
&& apk add tar curl
910

1011
RUN curl --silent --show-error --fail --location \
1112
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \
@@ -16,7 +17,9 @@ RUN curl --silent --show-error --fail --location \
1617
&& /usr/bin/caddy -version
1718

1819
EXPOSE 80 443 2015
20+
1921
WORKDIR /var/www/laravel/public
2022

2123
ENTRYPOINT ["caddy"]
24+
2225
CMD ["-conf", "/etc/Caddyfile"]

hhvm/Dockerfile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
FROM ubuntu:14.04
22

3-
RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
4-
RUN apt-get update -y && apt-get install -y software-properties-common \
5-
&& add-apt-repository "deb http://dl.hhvm.com/ubuntu $(lsb_release -sc) main" \
6-
&& apt-get update -y \
7-
&& apt-get install -y hhvm \
8-
&& apt-get clean \
9-
&& rm -rf /var/lib/apt/lists/*
3+
RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
4+
5+
RUN apt-get install -y software-properties-common \
6+
&& add-apt-repository "deb http://dl.hhvm.com/ubuntu $(lsb_release -sc) main" \
7+
&& apt-get update -y \
8+
&& apt-get install -y hhvm \
9+
&& apt-get clean \
10+
&& rm -rf /var/lib/apt/lists/*
1011

1112
RUN mkdir -p /var/www/laravel
1213

0 commit comments

Comments
 (0)