File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed
Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ print_success() {
2424}
2525
2626run_in_compose () {
27- docker- compose --file " $1 " up --abort-on-container-exit
27+ docker compose --file " $1 " up --abort-on-container-exit
2828 stop_compose " $1 "
2929}
3030
3131stop_compose () {
32- docker- compose --file " $1 " down || docker- compose --file " $1 " kill
32+ docker compose --file " $1 " down || docker compose --file " $1 " kill
3333}
3434
3535set -e
@@ -61,23 +61,23 @@ print_info "Building pharo-date image"
6161docker build --tag pharo-date:sut pharo-date-multistage
6262
6363print_info " Test #4 - Current date"
64- docker- compose --file docker-compose-pharo-date.yml up --detach
64+ docker compose --file docker-compose-pharo-date.yml up --detach
6565sleep 1
6666curl -f http://localhost:8080
6767print_success " OK"
6868stop_compose docker-compose-pharo-date.yml
6969print_success " Test #4 - Current date ...[OK]"
7070
7171print_info " Test #5 - Current date multistage"
72- docker- compose --file docker-compose-pharo-date-multistage.yml up --detach
72+ docker compose --file docker-compose-pharo-date-multistage.yml up --detach
7373sleep 1
7474curl -f http://localhost:8081
7575print_success " OK"
7676stop_compose docker-compose-pharo-date-multistage.yml
7777print_success " Test #5 - Current date multistage...[OK]"
7878
7979print_info " Test #6 - Current date balanced"
80- docker- compose --file docker-compose-balanced-pharo-date.yml up --detach --scale date=3
80+ docker compose --file docker-compose-balanced-pharo-date.yml up --detach --scale date=3
8181sleep 5
8282curl -f http://localhost
8383print_success " OK"
Original file line number Diff line number Diff line change 1818 uses : actions/checkout@v3
1919 - name : Docker meta
2020 id : docker_meta_runtime
21- uses : crazy-max/ghaction-docker-meta@v1
21+ uses : crazy-max/ghaction-docker-meta@v4
2222 with :
2323 images : ghcr.io/${{ github.repository_owner }}/pharo
2424 - name : Set up Docker Buildx
4141 secrets : GIT_AUTH_TOKEN=${{ secrets.DOCKER_REGISTRY_TOKEN }}
4242 - name : Docker meta loader
4343 id : docker_meta_loader
44- uses : crazy-max/ghaction-docker-meta@v1
44+ uses : crazy-max/ghaction-docker-meta@v4
4545 with :
4646 images : ghcr.io/${{ github.repository_owner }}/pharo-loader
4747 - name : Docker build and push loader
Original file line number Diff line number Diff line change 1515## Quick start
1616
1717``` bash
18- docker run -it ghcr.io/ba-st/pharo:v10 .0.1 pharo --version
18+ docker run -it ghcr.io/ba-st/pharo:v11 .0.0 pharo --version
1919```
2020
2121## License
Original file line number Diff line number Diff line change 33In your ` Dockerfile ` put something like:
44
55``` dockerfile
6- FROM ghcr.io/ba-st/pharo:v10 .0.1
6+ FROM ghcr.io/ba-st/pharo:v11 .0.0
77```
88
99If you want to create a custom Pharo image it's better to use multi-stage builds
@@ -13,10 +13,10 @@ configure Iceberg to use HTTPS.
1313For example
1414
1515``` dockerfile
16- FROM ghcr.io/ba-st/pharo-loader:v10 .0.1 AS loader
16+ FROM ghcr.io/ba-st/pharo-loader:v11 .0.0 AS loader
1717RUN pharo metacello install github://owner/repo:branch BaselineOfProject
1818
19- FROM ghcr.io/ba-st/pharo:v10 .0.1
19+ FROM ghcr.io/ba-st/pharo:v11 .0.0
2020COPY --from=loader /opt/pharo/Pharo.image ./
2121COPY --from=loader /opt/pharo/Pharo.changes ./
2222COPY --from=loader /opt/pharo/Pharo*.sources ./
Original file line number Diff line number Diff line change 22FROM alpine:3 as download-image
33RUN apk add unzip
44WORKDIR /tmp/pharo-images
5- ADD https://files.pharo.org/image/100/Pharo10.0.1-0 .build.527 .sha.0542643 .arch.64bit.zip ./PharoImage.zip
5+ ADD https://files.pharo.org/image/110/Pharo11-SNAPSHOT .build.689 .sha.8986777 .arch.64bit.zip ./PharoImage.zip
66RUN set -eu; \
77 unzip PharoImage.zip; \
88 rm PharoImage.zip; \
Original file line number Diff line number Diff line change 11ARG BASE_IMAGE=ghcr.io/ba-st/pharo
2- ARG VERSION=v10 .0.1
2+ ARG VERSION=v11 .0.0
33FROM $BASE_IMAGE:$VERSION
44RUN pharo eval --save "EpMonitor current disable"
55RUN pharo eval --save "EpMonitor current: (EpMonitor newWithLog: EpLog newNull)"
You can’t perform that action at this time.
0 commit comments