Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
changed composer requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Speckmaier committed Nov 27, 2017
1 parent 7ac89aa commit 4ea9d03
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 11 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
Dockerfile
.gitignore
.git
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ RUN curl -sSL "https://github.com/rancher/rancher-compose/releases/download/v$RA
&& mv rancher-compose-*/rancher-compose /usr/local/bin/ \
&& cp /usr/local/bin/rancher-compose /usr/local/bin/rancher-compose-$RANCHER_COMPOSE_VERSION

COPY [".", "/opt/rancherize"]
COPY ["docker", "/opt/rancherize"]
COPY [".", "/opt/rancherize-package"]
WORKDIR /opt/rancherize

# install composer packages
RUN curl -sSL "https://gist.githubusercontent.com/justb81/1006b89e41e41e1c848fe91969af7a0b/raw/c12faf968e659356ec1cb53f313e7f8383836be3/getcomposer.sh" | sh \
&& COMPOSER_ALLOW_SUPERUSER=1 ./composer.phar install --no-dev && rm composer.phar
&& COMPOSER_ALLOW_SUPERUSER=1 ./composer.phar install \
&& rm composer.phar

ENTRYPOINT ["/bin/sh", "/opt/rancherize/docker-entrypoint.sh"]
10 changes: 2 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ipunkt/rancherize2",
"name": "ipunkt/rancherize",
"description": "rancherize your development workflow",
"keywords": ["rancher", "docker"],
"type": "library",
Expand All @@ -22,13 +22,7 @@
"symfony/event-dispatcher": "^3.1",
"symfony/yaml": "^3.1",
"pimple/pimple": "^3.0",
"symfony/process": "^3.1",
"ipunkt/rancherize-backup-storagebox": "dev-gvvs-update@dev as 1.1.0",
"ipunkt/rancherize-ecr": "^1.0.0",
"ipunkt/rancherize-publish-traefik-rancher": "^1.0.2",
"ipunkt/rancherize-blueprint-php-cli": "^1.0.1",
"ipunkt/rancherize-php53": "^1.1.0",
"ipunkt/rancherize": "^2.18.7"
"symfony/process": "^3.1"
},
"require-dev": {
"phpunit/phpunit": "^5.6",
Expand Down
18 changes: 18 additions & 0 deletions docker/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"repositories": [
{
"type": "vcs",
"url": "/opt/rancherize-package"
}
],
"require": {
"ipunkt/rancherize": "dev-gvvs-update",
"ipunkt/rancherize-backup-storagebox": "dev-gvvs-update",
"ipunkt/rancherize-ecr": "^1.0.0",
"ipunkt/rancherize-publish-traefik-rancher": "^1.0.1",
"ipunkt/rancherize-blueprint-php-cli": "^1.0.1",
"ipunkt/rancherize-php53": "^1.1.0"
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 4ea9d03

Please sign in to comment.