Open Guillaume-Mayer opened 5 months ago
Having the same issue with deno:1.41.0
.
Still failing with denoland/deno:1.41.3
Without the unzip the compile does not work.
Is it a valid MR to be done?
Since deno use unzip, I would think it should be in the image. On the other hand, it is not welcome at runtime, so I don't know, but in my case I dit this:
FROM denoland/deno
WORKDIR /app
ADD . /app
RUN : \
&& apt-get update \
&& apt-get install -y unzip \
&& deno compile --allow-net server.ts
FROM gcr.io/distroless/cc-debian12:nonroot
COPY --from=0 /app/server /home/nonroot/server
ENTRYPOINT ["./server"]
Maybe I could just use the denoland/deno:distroless variant tho
Using this dockerfile:
Give me this error:
It works with tag 1.40.4