Skip to content

Commit

Permalink
1.13.0 (denoland#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
satyarohith committed Aug 10, 2021
1 parent 0d0d9a4 commit f88e3e0
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ Dockerhub:
To start the `deno` repl:

```sh
$ docker run -it --init denoland/deno:1.12.2 repl
$ docker run -it --init denoland/deno:1.13.0 repl
```

To shell into the docker runtime:

```sh
$ docker run -it --init --entrypoint sh denoland/deno:1.12.2
$ docker run -it --init --entrypoint sh denoland/deno:1.13.0
```

To run `main.ts` from your working directory:

```sh
$ docker run -it --init -p 1993:1993 -v $PWD:/app denoland/deno:1.12.2 run --allow-net /app/main.ts
$ docker run -it --init -p 1993:1993 -v $PWD:/app denoland/deno:1.13.0 run --allow-net /app/main.ts
```

Here, `-p 1993:1993` maps port 1993 on the container to 1993 on the host,
Expand All @@ -41,7 +41,7 @@ Here, `-p 1993:1993` maps port 1993 on the container to 1993 on the host,
## As a Dockerfile

```Dockerfile
FROM denoland/deno:1.12.2
FROM denoland/deno:1.13.0

# The port that your application listens to.
EXPOSE 1993
Expand Down Expand Up @@ -84,7 +84,7 @@ deno () {
--volume $PWD:/app \
--volume $HOME/.deno:/deno-dir \
--workdir /app \
denoland/deno:1.12.2 \
denoland/deno:1.13.0 \
"$@"
}
```
Expand Down
2 changes: 1 addition & 1 deletion alpine.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM frolvlad/alpine-glibc

ENV DENO_VERSION=1.12.2
ENV DENO_VERSION=1.13.0

RUN apk add --virtual .download --no-cache curl \
&& curl -fsSL https://github.com/denoland/deno/releases/download/v${DENO_VERSION}/deno-x86_64-unknown-linux-gnu.zip \
Expand Down
2 changes: 1 addition & 1 deletion centos.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM centos:8

ENV DENO_VERSION=1.12.2
ENV DENO_VERSION=1.13.0

RUN yum makecache \
&& yum install unzip -y \
Expand Down
2 changes: 1 addition & 1 deletion debian.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM debian:stable-slim

ENV DENO_VERSION=1.12.2
ENV DENO_VERSION=1.13.0
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get -qq update \
Expand Down
4 changes: 2 additions & 2 deletions distroless.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.12.3

ENV DENO_VERSION=1.12.2
ENV DENO_VERSION=1.13.0

RUN apk add --virtual .download --no-cache curl \
&& curl -fsSL https://github.com/denoland/deno/releases/download/v${DENO_VERSION}/deno-x86_64-unknown-linux-gnu.zip \
Expand All @@ -15,7 +15,7 @@ RUN apk add --virtual .download --no-cache curl \
FROM gcr.io/distroless/cc
COPY --from=0 /bin/deno /bin/deno

ENV DENO_VERSION=1.12.2
ENV DENO_VERSION=1.13.0
ENV DENO_DIR /deno-dir/
ENV DENO_INSTALL_ROOT /usr/local

Expand Down
2 changes: 1 addition & 1 deletion example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM denoland/deno:1.12.2
FROM denoland/deno:1.13.0

# The port that your application listens to.
EXPOSE 1993
Expand Down
2 changes: 1 addition & 1 deletion ubuntu.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:20.04

ENV DENO_VERSION=1.12.2
ENV DENO_VERSION=1.13.0

RUN apt-get -qq update \
&& apt-get upgrade -y -o Dpkg::Options::="--force-confold" \
Expand Down

0 comments on commit f88e3e0

Please sign in to comment.