Skip to content

Commit

Permalink
Merge pull request #92 from hayd/1.6.0
Browse files Browse the repository at this point in the history
chore: bump to Deno 1.6.0
  • Loading branch information
hayd committed Dec 8, 2020
2 parents 3d64cc1 + 44e005c commit 141444e
Show file tree
Hide file tree
Showing 8 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 @@ -18,19 +18,19 @@ _The amazonlinux1 build is used to run [deno on AWS Lambda](https://github.com/h
To start the `deno` repl:

```sh
$ docker run -it --init hayd/alpine-deno:1.5.4 repl
$ docker run -it --init hayd/alpine-deno:1.6.0 repl
```

To shell into the docker runtime:

```sh
$ docker run -it --init --entrypoint sh hayd/alpine-deno:1.5.4
$ docker run -it --init --entrypoint sh hayd/alpine-deno:1.6.0
```

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

```sh
$ docker run -it --init -p 1993:1993 -v $PWD:/app hayd/alpine-deno:1.5.4 run --allow-net /app/main.ts
$ docker run -it --init -p 1993:1993 -v $PWD:/app hayd/alpine-deno:1.6.0 run --allow-net /app/main.ts
```

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

```Dockerfile
FROM hayd/alpine-deno:1.5.4
FROM hayd/alpine-deno:1.6.0

# The port that your application listens to.
EXPOSE 1993
Expand Down Expand Up @@ -82,7 +82,7 @@ deno () {
--volume $PWD:/app \
--volume $HOME/.deno:/deno-dir \
--workdir /app \
hayd/alpine-deno:1.5.4 \
hayd/alpine-deno:1.6.0 \
"$@"
}
```
Expand Down
2 changes: 1 addition & 1 deletion alpine-built.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN \
FROM alpine:3.10.1 as deno-builder

ENV DENO_BUILD_MODE=release
ENV DENO_VERSION=1.5.4
ENV DENO_VERSION=1.6.0

RUN apk add --no-cache curl && \
curl -fsSL https://github.com/denoland/deno/releases/download/v${DENO_VERSION}/deno_src.tar.gz --output deno.tar.gz && \
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:alpine-3.11_glibc-2.31

ENV DENO_VERSION=1.5.4
ENV DENO_VERSION=1.6.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 amazonlinux1.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN curl https://sh.rustup.rs -sSf \
| sh -s -- --default-toolchain ${RUST_VERSION} -y
ENV PATH=/root/.cargo/bin:$PATH

ENV DENO_VERSION=1.5.4
ENV DENO_VERSION=1.6.0

RUN curl -fsSL https://github.com/denoland/deno/releases/download/v${DENO_VERSION}/deno_src.tar.gz \
--output deno.tar.gz \
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.1.1911

ENV DENO_VERSION=1.5.4
ENV DENO_VERSION=1.6.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-20200327-slim

ENV DENO_VERSION=1.5.4
ENV DENO_VERSION=1.6.0
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get -qq update \
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 hayd/alpine-deno:1.5.4
FROM hayd/alpine-deno:1.6.0

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:bionic-20200311

ENV DENO_VERSION=1.5.4
ENV DENO_VERSION=1.6.0

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

0 comments on commit 141444e

Please sign in to comment.