Skip to content

Commit

Permalink
Merge pull request #17 from ba-st/v10.3.0
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
mtabacman authored Jul 30, 2024
2 parents 3e0d408 + b9120d5 commit 3f4cb74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/how-to-guides/how-to-update-vm-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ of the Pharo VM was produced:
- Go to <https://files.pharo.org/vm/pharo-spur64-headless/Linux-x86_64/>
- Locate the zip file corresponding to the commit hash. It will have a name like
`PharoVM-{{version}}-{{commit_hash}}-Linux-x86_64-bin.zip`
(beware that multiple files with the same version might be available,
**we need the one with the commit equal to the one mentioned in the Pharo VM release**)
- Update the `Dockerfile` in the `source` folder to download the new zip
6 changes: 3 additions & 3 deletions source/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Download Pharo VM in a clean image
FROM alpine:3.12 as download-vm
FROM alpine:3.12 AS download-vm
RUN apk add unzip
WORKDIR /tmp/pharo-vm
ADD https://files.pharo.org/vm/pharo-spur64-headless/Linux-x86_64/PharoVM-10.2.0-f4c5e2a-Linux-x86_64-bin.zip ./PharoVM.zip
ADD https://files.pharo.org/vm/pharo-spur64-headless/Linux-x86_64/PharoVM-10.3.0-ce15171-Linux-x86_64-bin.zip ./PharoVM.zip
RUN set -eu; \
unzip PharoVM.zip; \
rm PharoVM.zip; \
true

# Copy VM into base image
FROM debian:12-slim as vm
FROM debian:12-slim AS vm
LABEL maintainer="Buenos Aires Smalltalk <[email protected]>"
WORKDIR /opt/pharo
RUN set -eu; \
Expand Down

0 comments on commit 3f4cb74

Please sign in to comment.