Skip to content

Commit

Permalink
Remove Vagrant, cleanup build
Browse files Browse the repository at this point in the history
  • Loading branch information
lfkeitel committed Dec 13, 2017
1 parent 824c906 commit e796549
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 131 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.6

MAINTAINER Lee Keitel <lfkeitel@usi.edu>
LABEL maintainer=Lee Keitel <lfkeitel@usi.edu>

ARG IMG_VERSION
ENV IMG_VERSION ${IMG_VERSION:-none}
Expand Down Expand Up @@ -70,11 +70,11 @@ COPY public/dist /usr/src/dandelion/public
COPY vendor /usr/src/dandelion/vendor
COPY config/config.sample.php /usr/src/dandelion/config/config.sample.php
COPY config/config.defaults.php /usr/src/dandelion/config/config.defaults.php
COPY docker/docker-entrypoint.sh /usr/local/bin/
COPY docker/docker-entrypoint.sh /

WORKDIR /var/www/dandelion
EXPOSE 80
VOLUME /var/www/dandelion

ENTRYPOINT ["docker-entrypoint.sh"]
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["/usr/sbin/httpd", "-DFOREGROUND", "-f", "/etc/apache2/httpd.conf"]
27 changes: 0 additions & 27 deletions Vagrantfile

This file was deleted.

11 changes: 10 additions & 1 deletion dev-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,22 @@ buildDandelion()
'dev-tools.sh'
'Vagrantfile'
'server.php'
'docker'
'.env'
'.git*'
'docker-compose.yml'
'Dockerfile'
'package-lock.json'
)

for DIR in "${DEV_ITEMS[@]}"; do
echo "Deleting $FULL_DIR/$DIR"
rm -rf $FULL_DIR/$DIR
done

mv -f $FULL_DIR/public/dist/* $FULL_DIR/public/
rm -rf $FULL_DIR/public/dist

echo "Creating tarball"
cd $TMP_DIR
tar czf $DELIVERY_DIR/dandelion-$GIT_BRANCH_FILENAME.tar.gz $GIT_DIR/
Expand Down Expand Up @@ -119,7 +128,7 @@ buildCommand ()
;;
-p)
shift
MV_PATH="$1"
MV_PATH="$(realpath $1)"
shift
esac
done
Expand Down
21 changes: 0 additions & 21 deletions vagrant/config.sample.php

This file was deleted.

12 changes: 0 additions & 12 deletions vagrant/destroy.sh

This file was deleted.

67 changes: 0 additions & 67 deletions vagrant/vagrant_bootstrap.sh

This file was deleted.

0 comments on commit e796549

Please sign in to comment.