Skip to content

Commit

Permalink
Removed reference to Mongo libraries
Browse files Browse the repository at this point in the history
When trying to build the Docker image in DockerHub the following error was occurring:

Build failed: ADD failed: stat /var/lib/docker/tmp/docker-builder979354735/install-php-mongo-library.sh: 
no such file or directory

In the hopes of eliminating the error I've removed the Mongo library references since I'm not using it anyway.
  • Loading branch information
wjgilmore authored Oct 10, 2017
1 parent 6615656 commit dede814
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM amazonlinux:latest
MAINTAINER Casey Jones <caseyjonesdev@gmail.com>
MAINTAINER Jason Gilmore <wj@wjgilmore.com>

ADD create-user.sh /tmp/create-user.sh
ADD create-cert.sh /tmp/create-cert.sh
ADD install-php-mongo-library.sh /tmp/install-php-mongo-library.sh
ADD mongodb-org-3.4.repo /etc/yum.repos.d/mongodb-org-3.4.repo
ADD server-config.sh /tmp/server-config.sh
ADD start-servers.sh /usr/sbin/start-servers

Expand Down Expand Up @@ -71,8 +69,6 @@ RUN /bin/bash /tmp/create-user.sh && \
rm /tmp/create-user.sh && \
/bin/bash /tmp/create-cert.sh && \
rm /tmp/create-cert.sh && \
/bin/bash /tmp/install-php-mongo-library.sh && \
rm /tmp/install-php-mongo-library.sh && \
/bin/bash /tmp/server-config.sh && \
rm /tmp/server-config.sh

Expand Down

0 comments on commit dede814

Please # to comment.