Open suntong opened 2 years ago
the Unstable Pre-release ended up with another error, so
I re-confirmed the problem with a minimum-set to duplicated the problem, a Dockerfile file, so we won't have a it-works-for-me case.
# Node Runtime Env:wx
# Dockerfile for building exe of my wx
ARG BASE_IMAGE=node:14-bullseye
FROM ${BASE_IMAGE}
RUN type python || apt-get update && apt-get install -yq python2 curl squashfs-tools build-essential git bsdutils; ln -s /usr/bin/python2.7 /usr/bin/python; python -V
# unset proxy
ENV http_proxy=
ENV https_proxy=
WORKDIR /usr/local/bin
# Stable Releases
ARG nodec_url=https://gw.alipayobjects.com/os/enclose-prod/b6aa41a6-f6b5-4542-b777-06e4bc292c5e/nodec-v1.5.0-linux-x64.gz
RUN curl -sL $nodec_url > nodec.gz && gunzip nodec.gz && chmod +x nodec; nodec -v
# Unstable Pre-release
#ARG nodec_url=https://github.com/pmq20/node-packer/releases/download/linux-x64/pre-release-nodec-v140800.121803-linux-x64
#RUN curl -sL $nodec_url > nodec && chmod +x nodec; nodec -v
RUN mkdir /src; git clone --depth 1 https://gist.github.com/22d29b8f156204fdaaae206117783197.git /src
WORKDIR /src
RUN script -c 'nodec index.js' || true
The log is in the typescript
file of the built image, if you need it.
thanks
whenever I build it, I'm getting the following error:
fatal error: Killed signal terminated program cc1
On several different projects, including the one from help:
I have also tried on three of my different machines, all failed with such error, when using the Stable Releases.
Log attached, and will try the Unstable Pre-release and then update ...
failed.log