Skip to content

Commit

Permalink
Upgrading to mailcatcher 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
spaquet committed Oct 6, 2023
1 parent 734ce5e commit ae6fa31
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM alpine:3.16.2
FROM alpine:3.18.4

# Mailcatcher version
ARG MAILCATCHER_VERSION=0.8.2
# ARG MAILCATCHER_VERSION=0.8.2
ARG MAILCATCHER_VERSION=0.9.0

# Label
LABEL maintainer="spaquet74@gmail.com" \
version="1.7.8" \
version="1.7.12" \
description="Debug emails with style using mailcatcher a super simple SMTP server which catches messages sent to it and displays them in a web interface" \
org.label-schema.name="mailcatcher" \
org.label-schema.version="${MAILCATCHER_VERSION}" \
Expand All @@ -20,7 +21,7 @@ ENV LANG="en_US.UTF-8" \
MAIL_LIMIT=50

RUN apk add --no-cache ruby \
ruby-json sqlite-libs libstdc++ \
ruby-json libc6-compat sqlite-libs libstdc++ \
ruby-dev make g++ sqlite-dev \
&& gem install --no-document --no-user-install net-smtp \
&& gem install -v $MAILCATCHER_VERSION mailcatcher --no-document \
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Docker Mailcatcher using the latest Alpine Linux.
## Components & Versions
| component | version |
|---------------|----------|
| Alpine Linux | 3.16.2 |
| MailCatcher | 0.8.2 |
| Ruby | 3.1.2-r0 |
| SQLite | 3.36.0-r0 |
| Alpine Linux | 3.18.4 |
| MailCatcher | 0.9.0 |
| Ruby | 3.2.0 |
| SQLite | 3.43.1-r0 |

Ruby & SQlite versions may differ as they are updated during the installation of the image. A full list of the installed packages can be extracted using the following command `docker exec -i <image_name> apk info -vv | sort`

Expand Down
13 changes: 9 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Docker Mailcatcher using the latest Alpine Linux.

| component | version |
|---------------|----------|
| Alpine Linux | 3.16.2 |
| MailCatcher | 0.8.2 |
| Ruby | 3.1.2-r0 |
| SQLite | 3.36.0-r0 |
| Alpine Linux | 3.18.4 |
| MailCatcher | 0.9.0 |
| Ruby | 3.2.0 |
| SQLite | 3.43.1-r0 |

Ruby & SQlite versions may differ as they are updated during the installation of the image. A full list of the installed packages can be extracted using the following command `docker exec -i <image_name> apk info -vv | sort`

Expand Down Expand Up @@ -165,6 +165,8 @@ MailCatcher is running in `foreground` mode. This does not change MailCatcher be
| 1.7.8 | 2022-05-30 | Fixing #5 - net-smtp was not properly loading when using ruby 3.1 |
| 1.7.9 | 2022-08-02 | Upgrading to Alpine Linux 3.16.1 - fix 2 major issues: busybox [CVE-2022-30065](https://security.alpinelinux.org/vuln/CVE-2022-30065) and openssl [CVE-2022-2097](https://security.alpinelinux.org/vuln/CVE-2022-2097). Alpine 3.16.1 detail change log can be found [here](https://www.alpinelinux.org/posts/Alpine-3.16.1-released.html) |
| 1.7.10 | 2022-08-16 | Upgrading to Alpine Linux 3.16.2 |
| 1.7.11 | 2022-11-28 | Upgrading to Alpine Linux 3.17.0 and mailcatcher 0.9.0.beta1 |
| 1.7.12 | 2023-10-06 | Upgrading to Alpine Linux 3.18.4 and mailcatcher 0.9.0 |

## Wanna contribute?

Expand All @@ -177,6 +179,9 @@ To build run `docker build -t stpaquet/alpinemailcatcher`
`cd docker-alpine-mailcatcher`<br>
`docker run --rm -it -p 1080:1080 -p 1025:1025 --name mailcatcher $(docker build -q .)`

Special note to Apple M1 user:
`docker run --rm -it -p 1080:1080 -p 1025:1025 --name mailcatcher $(docker build --platform linux/amd64 -q .)`

## Alpine MailCatcher @DockerHub

[https://hub.docker.com/r/stpaquet/alpinemailcatcher](https://hub.docker.com/r/stpaquet/alpinemailcatcher)
Expand Down

0 comments on commit ae6fa31

Please sign in to comment.