-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
James Brechtel
committed
Jul 11, 2022
1 parent
0d2ce62
commit eaeb765
Showing
1 changed file
with
27 additions
and
0 deletions.
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,27 @@ | ||
This repo is used to create a docker image containing arm64 binaries of `purs` | ||
(the purescript compiler) and `spago` (a build tool for purescript). | ||
|
||
The tag or branch you want to build must be set in their build scripts. | ||
|
||
Note that spago's has its own version number separate from purs so if you're | ||
upgrading then you must manually verfiy the version of purs and spago you want | ||
and make sure they work together. Generally you probably want the latest | ||
released version of each. | ||
|
||
This repository is typically used for simply providing these binaries inside of | ||
a docker image that can be used inside a project-specific docker image which | ||
needs an arm64 version. | ||
|
||
Once the build scripts have the appropriate versions in them then you should be | ||
able to produce the needed docker image with `docker build .` | ||
|
||
After that you can tag it or push it to whereever you need. | ||
|
||
Typically that will be `flipstone/purescript-arm64:<purs version>` | ||
|
||
e.g. | ||
|
||
``` | ||
docker build . -t flipstone/purescript-arm64:0.15.4 | ||
docker push | ||
``` |