Skip to content

Commit

Permalink
Improved sourcecode docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
mblaschke committed Oct 18, 2015
1 parent a8f5c7c commit bdc0130
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/sourcecode/Dockerfile → Dockerfile-Source
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

FROM ubuntu:14.04

ADD entrypoint.sh /entrypoint.sh
ADD bin/entrypoint.sh /entrypoint.sh

RUN mkdir -p /docker/code/
RUN chmod -R 777 /docker/code/
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ rebuild:
#############################

cloud-build:
mkdir -p docker/sourcecode/code
rsync -a code/ docker/sourcecode/code/
docker-compose --file docker-compose-cloud.yml build
docker-compose --file docker-compose-cloud.yml build --no-cache sourcecode
docker-compose --file docker-compose-cloud.yml stop
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion docker-compose-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ mysql:
# sourcecode
#######################################
sourcecode:
build: docker/sourcecode/
build: .
dockerfile: Dockerfile-Source
volumes:
- /docker/code/
env_file:
Expand Down
Empty file removed docker/sourcecode/code/.gitkeep
Empty file.

0 comments on commit bdc0130

Please sign in to comment.