-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update image used to build PHP (#300)
- Loading branch information
1 parent
2ed11fd
commit 05cbc92
Showing
3 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Build cflinuxfs3-dev docker image | ||
|
||
on: | ||
workflow_dispatch: { } | ||
schedule: | ||
- cron: "0 1 * * 1" | ||
push: | ||
branches: [ master ] | ||
paths: [ dockerfiles/cflinuxfs3-dev.Dockerfile ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.CF_BUILDPACKS_DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.CF_BUILDPACKS_DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
push: true | ||
tags: cfbuildpacks/cflinuxfs3-dev | ||
file: dockerfiles/cflinuxfs3-dev.Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM cloudfoundry/cflinuxfs3 | ||
|
||
RUN apt update | ||
|
||
# Remove ESM packages required for dependenciees | ||
|
||
## PHP | ||
RUN apt remove libonig4 -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters