Skip to content

Instantly share code, notes, and snippets.

@marcosc90
Created May 14, 2020 09:59

Revisions

  1. marcosc90 created this gist May 14, 2020.
    18 changes: 18 additions & 0 deletions deno.alpine.dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    FROM frolvlad/alpine-glibc:alpine-3.11_glibc-2.31

    ENV DENO_VERSION=1.0.0

    WORKDIR /

    RUN apk update && \
    apk upgrade

    RUN apk add curl

    RUN curl -fsSL https://deno.land/x/install/install.sh | sh -s v${DENO_VERSION}

    ENV DENO_INSTALL="/root/.deno"

    ENV PATH="${DENO_INSTALL}/bin:${PATH}"

    RUN deno --version