Skip to content

Commit

Permalink
bump to lucky 0.27 and crystal 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KCErb authored Apr 9, 2021
1 parent 7303407 commit f6350a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM crystallang/crystal:0.36.1-alpine-build as build-image
FROM crystallang/crystal:1.0.0-alpine-build as build-image

ENV MUSL_LOCPATH /usr/share/i18n/locales/musl
ENV MUSL_LOCALE_DEPS cmake make musl-dev gcc gettext-dev libintl
Expand All @@ -13,13 +13,13 @@ RUN apk add --no-cache --update \
WORKDIR /usr/local/
RUN git clone https://github.com/luckyframework/lucky_cli && \
cd lucky_cli && \
git checkout v0.26.0 --quiet && \
git checkout v0.27.0 --quiet && \
shards install

WORKDIR /usr/local/lucky_cli
RUN crystal build src/lucky.cr -o /usr/local/bin/lucky

FROM crystallang/crystal:0.36.1-alpine as runtime-image
FROM crystallang/crystal:1.0.0-alpine as runtime-image

RUN apk add --no-cache --update postgresql-client
COPY --from=build-image /usr/local/bin/lucky /usr/local/bin/lucky
Expand Down

0 comments on commit f6350a6

Please sign in to comment.