Created
October 21, 2020 04:23
-
-
Save tbremer/21923ff3414f3dfa42b37a5a05ba5868 to your computer and use it in GitHub Desktop.
Deno Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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