-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dockerfile): change befunge dockerifles to use official Go docker…
… image
- Loading branch information
1 parent
14fad93
commit 99e9d87
Showing
2 changed files
with
6 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,6 +1,7 @@ | ||
# Befunge Whanos base image | ||
FROM esolang/befunge93 | ||
FROM golang:1.20-alpine | ||
|
||
ONBUILD RUN go install github.com/jo-m/gobef93/cmd/gobef93@latest | ||
ONBUILD COPY . /app | ||
ONBUILD WORKDIR /app | ||
ONBUILD CMD ["befunge93", "main.bf"] | ||
ONBUILD CMD ["gobef93", "main.bf"] |
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,6 +1,7 @@ | ||
# Befunge Whanos standalone image | ||
FROM esolang/befunge93 | ||
FROM golang:1.20-alpine | ||
|
||
RUN go install github.com/jo-m/gobef93/cmd/gobef93@latest | ||
COPY . /app | ||
WORKDIR /app | ||
CMD ["befunge93", "main.bf"] | ||
CMD ["gobef93", "main.bf"] |