Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fix the play framework dependency on docker-compose.yml #84

Merged
merged 1 commit into from Dec 11, 2017

Conversation

eyal-lezmy
Copy link

@eyal-lezmy eyal-lezmy commented Nov 11, 2017

The repository alexproca/play:2.2.3 is not maintained anymore. And there is no alternative on Alex's profile.
ifinavet/playframework:2.2.3 does the same thing and seems pretty well organised.

The repository alexproca/play:2.2.3 is not maintained anymore.
ifinavet/playframework:2.2.3 does the same thing and seems pretty well organized.
This patch fixes the docker-compose dev environment.
@h3xstream
Copy link

This pull request fixes #85

@alexproca
Copy link
Contributor

alexproca commented Nov 14, 2017

Since there is not a official build for play framework I created mine then forget is used here and deleted it.

The replacement with ifinavet/playframework will fix the problem for now but won't prevent the same think will happen in the future.

The fix would be to create a play.dockerfile and tell docker-compose to build play image based on some official image like openjdk:7

docker-compose.yml

play:
    build:
      context: .
      dockerfile: play.dockerfile
    volumes:
      - .:/app:rw
    ports:
      - "9000:9000"

play.dockerfile

FROM openjdk:7

ENV PLAY_VERSION 2.2.6

RUN wget -q https://downloads.typesafe.com/play/${PLAY_VERSION}/play-${PLAY_VERSION}.zip \
    && unzip -q play-${PLAY_VERSION}.zip \
    && rm play-${PLAY_VERSION}.zip \
    && ln -s /play-${PLAY_VERSION}/play /usr/local/bin/

@eyal-lezmy
Copy link
Author

@alexproca thanks for the feedback. I'll try to update the PR asap.

@nicmarti
Copy link
Owner

Ok, @aheritier will do a review and merge it, thanks :-)

@nicmarti nicmarti merged commit a0923e8 into nicmarti:dev Dec 11, 2017
nicmarti added a commit that referenced this pull request Dec 11, 2017
This PR replaces #84 and add the change proposed by @alexproca cc @eyal-lezmy
@martinbonnin martinbonnin deleted the fix/docker-play-dep branch November 17, 2018 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants