Sign inSign up
haxe logo

haxe:5.0.0-preview.1-alpine3.24

Multi-platform
Also known as:
5.0-alpine
5.0-alpine3.24
5.0.0-alpine
5.0.0-alpine3.24
5.0.0-preview.1-alpine
Languages & frameworks
Index digest

sha256:fe126559950bdef9266e00afeed6765321cf6853a6c3c8013181d956b6676494

OS/ARCH

Compressed size

45.04 MB

Last pushed

2 days by doijanky

Type

Image

Vulnerabilities

0
1
7
8
0

Manifest digest

sha256:9052a4fa6d4a5f5fad96e1c0e440dbeb83e69fdade35aac9fdf2974b5bc7bc7c

Layers (9)

alpine:3.24
0
0
0
0
0
haxe:5.0.0-preview.1-alpine3.24
0
1
7
8
0

2

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

0 B


3

RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit

249.8 KB


4

ENV NEKO_VERSION=2.4.1

0 B


5

ENV HAXE_VERSION=5.0.0-preview.1

0 B


6

ENV HAXE_STD_PATH=/usr/local/share/haxe/std

0 B


7

RUN /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps tar git && wget -O neko.tar.gz "https://github.com/HaxeFoundation/neko/archive/v2-4-1/neko-2.4.1.tar.gz" && echo "702282028190dffa2078b00cca515b8e2ba889186a221df2226d2b6deb3ffaca *neko.tar.gz" | sha256sum -c - && mkdir -p /usr/src/neko && tar -xC /usr/src/neko --strip-components=1 -f neko.tar.gz && rm neko.tar.gz && apk add --no-cache --virtual .neko-build-deps apache2-dev cmake gc-dev gcc gtk+3.0-dev libc-dev linux-headers pcre2-dev mariadb-dev mbedtls2-dev ninja sqlite-dev && cd /usr/src/neko && cmake -GNinja -DNEKO_JIT_DISABLE=ON -DRELOCATABLE=OFF -DRUN_LDCONFIG=OFF . && ninja && ninja install && git clone --recursive --depth 1 --branch 5.0.0-preview.1 "https://github.com/HaxeFoundation/haxe.git" /usr/src/haxe && cd /usr/src/haxe && mkdir -p $HAXE_STD_PATH && cp -r std/* $HAXE_STD_PATH && apk add --no-cache --virtual .haxe-build-deps bash pcre2-dev zlib-dev mbedtls2-dev make opam aspcud m4 unzip patch pkgconf rsync musl-dev perl-string-shellquote perl-ipc-system-simple ocaml-compiler-libs ocaml-ocamldoc && opam init --compiler=5.5.1 --disable-sandboxing && eval $(opam env --switch=5.5.1) && opam pin add haxe . --no-action && opam install haxe --deps-only --no-depexts --yes --ignore-constraints-on= && make && eval $(opam env --revert) && mkdir -p /usr/local/bin && cp haxe haxelib /usr/local/bin && mkdir -p /haxelib && cd / && haxelib setup /haxelib && runDeps="$( scanelf --needed --nobanner --recursive /usr/local | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' | sort -u | xargs -r apk info --installed | sort -u )" && apk add --virtual .haxe-rundeps $runDeps && apk del .fetch-deps .neko-build-deps .haxe-build-deps && rm -rf ~/.opam && rm -rf /usr/src/neko /usr/src/haxe # buildkit

42.79 MB


8

CMD ["haxe"]

0 B