-
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.
Update Crystal version to 1.14 and run code formatter (#978)
- Loading branch information
Showing
3 changed files
with
27 additions
and
28 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,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 | ||
|
||
|
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