Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor updates to Dockerfile #38

Closed
wants to merge 1 commit into from

Conversation

felixkrohn
Copy link

  • use more recent of builder image
  • use explicit registry name in image sources
  • add "shards update" call to Dockerfile (works for me... not a crystal expert)
  • chain 2 commands together to reduce amount of layers

* use more recent of builder image
* use explicit registry name in image sources
* add "shards update" call (works for me... not a crystal expert)
* chain 2 commands together to reduce amount of layers
Copy link
Contributor

@JayVii JayVii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fear this PR is obsolete by now, as all proposed changes have been implemented already in the menatime

@@ -1,19 +1,18 @@
FROM crystallang/crystal:1.2.2-alpine AS builder
FROM docker.io/crystallang/crystal:1.6.2-alpine AS builder
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obsolete due to 29f45a0

RUN apk update && apk upgrade && apk add sqlite-static
WORKDIR /build/
ARG version
RUN git clone --branch ${version:-dist} --depth 1 https://github.com/toddsundsted/ktistec .
RUN shards install --production
RUN shards update && shards install --production
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implemented in 648b463

@felixkrohn
Copy link
Author

felixkrohn commented Nov 7, 2024

@JayVii you're right, thanks.

@felixkrohn felixkrohn closed this Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants