-
Notifications
You must be signed in to change notification settings - Fork 25
/
Dockerfile
35 lines (26 loc) · 1.44 KB
/
Dockerfile
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
## BUILDING
## (from project root directory)
## $ docker build -t php-for-joaquinobed-simple-invoice .
##
## RUNNING
## $ docker run -p 9000:9000 php-for-joaquinobed-simple-invoice
##
## CONNECTING
## Lookup the IP of your active docker host using:
## $ docker-machine ip $(docker-machine active)
## Connect to the container at DOCKER_IP:9000
## replacing DOCKER_IP for the IP of your active docker host
FROM gcr.io/stacksmith-images/minideb-buildpack:jessie-r7
MAINTAINER Bitnami <[email protected]>
ENV STACKSMITH_STACK_ID="zgv4q78" \
STACKSMITH_STACK_NAME="PHP for joaquinobed/simple-invoice" \
STACKSMITH_STACK_PRIVATE="1"
# Install required system packages
RUN install_packages libc6 zlib1g libxslt1.1 libtidy-0.99-0 libreadline6 libncurses5 libtinfo5 libsybdb5 libmcrypt4 libldap-2.4-2 libstdc++6 libgmp10 libpng12-0 libjpeg62-turbo libbz2-1.0 libxml2 libssl1.0.0 libcurl3 libfreetype6 libicu52 libgcc1 libgcrypt20 libgssapi-krb5-2 libgnutls-deb0-28 libsasl2-2 liblzma5 libidn11 librtmp1 libssh2-1 libkrb5-3 libk5crypto3 libcomerr2 libgpg-error0 libkrb5support0 libkeyutils1 libp11-kit0 libtasn1-6 libnettle4 libhogweed2 libffi6
RUN bitnami-pkg install php-5.6.29-0 --checksum 66b0c4957774cb45bcf4ef2755f434cc2e9aea5dbb3284859d28690bce35b632
ENV PATH=/opt/bitnami/php/bin:$PATH
## STACKSMITH-END: Modifications below this line will be unchanged when regenerating
# PHP base template
COPY . /app
WORKDIR /app
CMD ["php", "-a"]