-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Thanks for the great tool!
I'm trying to package it in docker using alpine for use in my CI pipeline, but xidel doesn't work quite right.
Maybe I didn't add some important dependency?
# syntax=docker/dockerfile:1
ARG IMAGE=alpine
ARG VERSION=3.20.3
FROM ${IMAGE}:${VERSION}
LABEL org.opencontainers.image.title="xidel"
ARG IMAGE
ARG VERSION
LABEL org.opencontainers.image.base.name="${IMAGE}:${VERSION}"
# Install Xidel
# renovate: datasource=github-releases depName=benibela/xidel
ARG XIDEL_VERSION="0.9.8"
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
RUN wget -qO- "https://github.com/benibela/xidel/releases/download/Xidel_${XIDEL_VERSION}/xidel-${XIDEL_VERSION}.linux64.tar.gz" | tar -xzv xidel -C /bin
# Install dependencies
# renovate: datasource=repology depName=alpine_3_20/gcompat versioning=loose
ARG GCOMPAT_VERSION="1.1.0-r4"
# renovate: datasource=repology depName=alpine_3_20/openssl-dev versioning=loose
ARG OPENSSL_VERSION="3.3.2-r1"
RUN apk add --no-cache \
gcompat=${GCOMPAT_VERSION} \
openssl-dev=${OPENSSL_VERSION} && \
# For security reasons, other OS packages should be updated, even at the expense of reproducibility of assemblies
apk upgrade --no-cache
ENTRYPOINT ["xidel"]docker run -it --rm my-xidel-image --data 'https://google.com' --xpath3 '.'
... a good result followed by this :
An unhandled exception occurred at $00007F2A754BBD4C:
EAccessViolation:
$00007F2A754BBD4C
(gdb) backtrace
#0 0x00007f1777c2fd4c in free_group (g=<optimized out>) at src/malloc/mallocng/free.c:27
#1 nontrivial_free (g=g@entry=0x5555883d25e0, i=i@entry=1) at src/malloc/mallocng/free.c:88
#2 0x00007f1777c2fed8 in __libc_free (p=<optimized out>) at src/malloc/mallocng/free.c:144
#3 0x00007f17778fe023 in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x00007f17774e9670 in ?? ()
#6 0x00007f17774ea270 in ?? ()
#7 0x00007f177775d360 in ?? ()
#8 0x00000000779227b3 in ?? ()
#9 0xe12fd480382000c0 in ?? ()
#10 0x00007f1777a4fa20 in ?? ()
#11 0x00007f17779227b3 in ?? ()
#12 0x0000000000000000 in ?? ()
I was trying to find the answer in the file https://git.musl-libc.org/cgit/musl/tree/src/malloc/mallocng/free.c. But that didn't tell me anything.
Any ideas?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels