Skip to content

Instantly share code, notes, and snippets.

@tbremer
Created October 21, 2020 04:23
Show Gist options
  • Save tbremer/21923ff3414f3dfa42b37a5a05ba5868 to your computer and use it in GitHub Desktop.
Save tbremer/21923ff3414f3dfa42b37a5a05ba5868 to your computer and use it in GitHub Desktop.
Deno Dockerfile
FROM ubuntu
WORKDIR /deno
ENV DENO_VERSION 1.3.1
RUN apt-get update && \
apt-get install curl unzip -y && \
curl -fsSL https://github.com/denoland/deno/releases/download/v$DENO_VERSION/deno-x86_64-unknown-linux-gnu.zip \
--output deno.zip && \
unzip deno.zip && rm deno.zip && \
chmod 777 deno && \
mv deno /usr/local/bin/deno && \
apt-get purge curl unzip -y && apt-get autoremove --purge -y
ENTRYPOINT ["deno"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment