Skip to content

Commit

Permalink
fix(dockerfile): change befunge dockerifles to use official Go docker…
Browse files Browse the repository at this point in the history
… image
  • Loading branch information
Neeptossss committed Dec 14, 2023
1 parent 14fad93 commit 99e9d87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions images/befunge/Dockerfile.base
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"]
5 changes: 3 additions & 2 deletions images/befunge/Dockerfile.standalone
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"]

0 comments on commit 99e9d87

Please sign in to comment.