Skip to content

Commit

Permalink
1.43.2 (#362)
Browse files Browse the repository at this point in the history
Drop support for CentOS

---------

Co-authored-by: nathanwhit <[email protected]>
Co-authored-by: Bartek Iwańczuk <[email protected]>
  • Loading branch information
3 people authored May 9, 2024
1 parent cbae1a1 commit 44f8f25
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 62 deletions.
3 changes: 1 addition & 2 deletions .bmp.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
version: 1.43.1
version: 1.43.2
commit: '%.%.%'
files:
README.md:
- 'denoland/deno:%.%.%'
- 'denoland/deno:bin-%.%.%'
alpine.dockerfile: ARG DENO_VERSION=%.%.%
bin.dockerfile: ARG DENO_VERSION=%.%.%
centos.dockerfile: ARG DENO_VERSION=%.%.%
debian.dockerfile: ARG DENO_VERSION=%.%.%
distroless.dockerfile: ARG DENO_VERSION=%.%.%
example/Dockerfile: 'denoland/deno:%.%.%'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
kind: ["alpine", "centos", "debian", "distroless", "ubuntu"]
kind: ["alpine", "debian", "distroless", "ubuntu"]
steps:
- name: Clone repository
uses: actions/checkout@v4
Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Docker files for [Deno](https://github.com/denoland/deno) published on
Dockerhub:

- Alpine Linux: [denoland/deno:alpine](https://hub.docker.com/r/denoland/deno)
- Centos: [denoland/deno:centos](https://hub.docker.com/r/denoland/deno)
- Debian: [denoland/deno:debian](https://hub.docker.com/r/denoland/deno)
(default)
- Distroless: [denoland/deno:distroless](https://hub.docker.com/r/denoland/deno)
Expand All @@ -20,19 +19,19 @@ Dockerhub:
To start the `deno` repl:

```sh
$ docker run -it denoland/deno:1.43.1 repl
$ docker run -it denoland/deno:1.43.2 repl
```

To shell into the docker runtime:

```sh
$ docker run -it denoland/deno:1.43.1 sh
$ docker run -it denoland/deno:1.43.2 sh
```

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

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

Here, `-p 1993:1993` maps port 1993 on the container to 1993 on the host,
Expand All @@ -42,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.43.1
FROM denoland/deno:1.43.2

# The port that your application listens to.
EXPOSE 1993
Expand Down Expand Up @@ -78,7 +77,7 @@ If you prefer to install `deno` in your own base image, you can use the

```Dockerfile
FROM ubuntu
COPY --from=denoland/deno:bin-1.43.1 /deno /usr/local/bin/deno
COPY --from=denoland/deno:bin-1.43.2 /deno /usr/local/bin/deno
```

## Running on Google Cloud Run(GCR)
Expand All @@ -105,7 +104,7 @@ deno () {
--volume $PWD:/app \
--volume $HOME/.deno:/deno-dir \
--workdir /app \
denoland/deno:1.43.1 \
denoland/deno:1.43.2 \
"$@"
}
```
Expand Down
2 changes: 1 addition & 1 deletion alpine.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG DENO_VERSION=1.43.1
ARG DENO_VERSION=1.43.2
ARG BIN_IMAGE=denoland/deno:bin-${DENO_VERSION}


Expand Down
2 changes: 1 addition & 1 deletion bin.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG DENO_VERSION=1.43.1
ARG DENO_VERSION=1.43.2


FROM buildpack-deps:20.04-curl AS download
Expand Down
44 changes: 0 additions & 44 deletions centos.dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion debian.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG DENO_VERSION=1.43.1
ARG DENO_VERSION=1.43.2
ARG BIN_IMAGE=denoland/deno:bin-${DENO_VERSION}


Expand Down
2 changes: 1 addition & 1 deletion distroless.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG DENO_VERSION=1.43.1
ARG DENO_VERSION=1.43.2
ARG BIN_IMAGE=denoland/deno:bin-${DENO_VERSION}


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.43.1
FROM denoland/deno:1.43.2

# The port that your application listens to.
EXPOSE 1993
Expand Down
6 changes: 3 additions & 3 deletions ubuntu.dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ARG DENO_VERSION=1.43.1
ARG DENO_VERSION=1.43.2
ARG BIN_IMAGE=denoland/deno:bin-${DENO_VERSION}


FROM ${BIN_IMAGE} AS bin


FROM buildpack-deps:20.04-curl AS tini
FROM buildpack-deps:22.04-curl AS tini

ARG TINI_VERSION=0.19.0
ARG TARGETARCH
Expand All @@ -15,7 +15,7 @@ RUN curl -fsSL https://github.com/krallin/tini/releases/download/v${TINI_VERSION
&& chmod +x /tini


FROM ubuntu:20.04
FROM ubuntu:22.04

RUN useradd --uid 1993 --user-group deno \
&& mkdir /deno-dir/ \
Expand Down

0 comments on commit 44f8f25

Please sign in to comment.