You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a very simple express app that runs perfectly well locally (Intel Mac, Sonoma) but segfaults when run using the latest official alpine Docker image.
Dockerfile:
FROM denoland/deno:alpine-1.38.0
EXPOSE 8080
WORKDIR /app
RUN apk add --no-cache bash coreutils grep sed
USER deno
ADD . .
CMD ["run", "--allow-all", "main.ts"]
# CMD ["--version"]
main.ts:
import express from 'npm:express@4.18.2';
const app = express();
Running with: docker run -d --init -it -p 8080:8080 app
deno itself runs just fine as can be seen by trying the --version command currently commented out in the Docker file or, in fact, trying any other trivial code such as console.log().
Can anyone figure out what the issue is?
The text was updated successfully, but these errors were encountered:
Actually, that turned out to be a bit misleading. While 1.37.2 dies immediately, 1.37.1 and 1.37.0 die after a second or too. I was misled by their fleeting presence in the docker ps list.
alpine-1.36.4 actually seems to be the last stable release.
I have a very simple express app that runs perfectly well locally (Intel Mac, Sonoma) but segfaults when run using the latest official alpine Docker image.
Dockerfile:
main.ts:
Running with:
docker run -d --init -it -p 8080:8080 app
deno itself runs just fine as can be seen by trying the
--version
command currently commented out in the Docker file or, in fact, trying any other trivial code such asconsole.log()
.Can anyone figure out what the issue is?
The text was updated successfully, but these errors were encountered: