-
Notifications
You must be signed in to change notification settings - Fork 572
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
Showing
15 changed files
with
1,075 additions
and
1,032 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
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
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,11 +1,11 @@ | ||
FROM crystallang/crystal:1.0.0-alpine AS build | ||
FROM crystallang/crystal:1.14-alpine AS build | ||
|
||
WORKDIR /opt/app | ||
COPY primes.cr . | ||
RUN crystal build primes.cr --release --static --no-debug | ||
|
||
FROM alpine:3.13 | ||
FROM alpine:3 | ||
|
||
COPY --from=build /opt/app/primes /usr/local/bin/ | ||
|
||
ENTRYPOINT [ "primes" ] | ||
ENTRYPOINT [ "primes" ] |
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,6 @@ | ||
FROM debian:11 | ||
|
||
ENV CRYSTAL_VER="1.1" | ||
ENV CRYSTAL_VER="1.14" | ||
|
||
WORKDIR /opt | ||
|
||
|
Oops, something went wrong.