diff --git a/docker/Dockerfile b/docker/Dockerfile index e51a86379..64c49b324 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -35,7 +35,9 @@ COPY Gemfile Gemfile.lock ./ # natively compile grpc and protobuf to support alpine musl (dialogflow-docker workflow) # https://github.com/googleapis/google-cloud-ruby/issues/13306 -RUN apk add --no-cache musl ruby-full ruby-dev gcc make musl-dev openssl openssl-dev g++ linux-headers +# adding xz as nokogiri was failing to build libxml +# https://github.com/chatwoot/chatwoot/issues/4045 +RUN apk add --no-cache musl ruby-full ruby-dev gcc make musl-dev openssl openssl-dev g++ linux-headers xz RUN bundle config set --local force_ruby_platform true # Do not install development or test gems in production