Skip to content

Commit

Permalink
Remove chmod +x from image entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mbouchenoire committed Apr 27, 2021
1 parent 40d4b4c commit 2249aa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,5 @@ jobs:
- name: release
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
chmod +x src/main/jib/entrypoint.sh
./gradlew jib -Djib.to.image=registry.hub.docker.com/mbouchenoire/lowfer:${{ env.RELEASE_VERSION }}
2 changes: 1 addition & 1 deletion gradle/docker.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jib {
}
}
container {
entrypoint = ["sh", "-c", "chmod +x /entrypoint.sh && sync && /entrypoint.sh"]
entrypoint = ["sh", "-c", "sync && /entrypoint.sh"]
ports = ["8080"]
environment = [
SPRING_OUTPUT_ANSI_ENABLED: "ALWAYS"
Expand Down

0 comments on commit 2249aa7

Please sign in to comment.