-
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.
Updates to use purescript 0.15.4 / spago 0.20.9
- Loading branch information
James Brechtel
committed
Jul 11, 2022
1 parent
fc4ba09
commit 0d2ce62
Showing
3 changed files
with
19 additions
and
4 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 |
---|---|---|
@@ -1,13 +1,16 @@ | ||
FROM flipstone/stack:v5-2.7.3-arm64 AS builder | ||
|
||
RUN apt-get update && apt-get install git | ||
RUN apt-get update && apt-get install -y git curl | ||
|
||
ADD build-purs.sh /build-purs.sh | ||
|
||
RUN /build-purs.sh | ||
|
||
ADD build-spago.sh /build-spago.sh | ||
RUN /build-spago.sh | ||
|
||
FROM arm64v8/debian:bullseye-20211220-slim | ||
|
||
COPY --from=builder /usr/local/bin/purs /usr/local/bin/purs | ||
COPY --from=builder /root/.local/bin/spago /usr/local/bin/spago | ||
|
||
ENTRYPOINT /usr/local/bin/purs | ||
ENTRYPOINT /usr/local/bin/spago |
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
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,12 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
git clone https://github.com/purescript/spago.git ~/spago | ||
|
||
cd ~/spago | ||
|
||
git checkout 0.20.9 | ||
|
||
make | ||
make install |