Closed henrikbjorn closed 1 year ago
Do you get any trace log?
Dockerfile content to see how this was built?
There is no tracelog other than the binary in the gem spits out Segmmentation Fault
.
# syntax=docker/dockerfile:1.4
FROM ruby:3.2-alpine
RUN apk add --update --no-cache \
alpine-sdk \
build-base \
busybox-extras \
ca-certificates \
coreutils \
curl \
gcompat \
libcurl \
libxml2-dev \
libxslt-dev \
sqlite \
tzdata \
vips \
yarn
RUN update-ca-certificates
RUN gem install bundler
WORKDIR /app
COPY Gemfile* .
RUN bundle config set path "/bundle" && \
bundle config build.nokogiri --use-system-libraries
COPY --link . .
ENV PATH /app/bin:$PATH
EXPOSE 3000
ENTRYPOINT ["/app/docker-entrypoint.sh"]
CMD ["bin/dev"]
I assume it might be because of Alpine and it not having glibc or something. Works on Arm with the ruby:3.2-slim
dart is not working with alpine. It's an known issue
Trying to execute the binary associated with this architecture will result in the following:
is
aarch64
.I am thinking this might be the same problem that was present in tailwindcss-rails at some point?