Skip to content

Commit

Permalink
Technical/Update image (#54)
Browse files Browse the repository at this point in the history
* Switch to truemail-rack 0.4.0
  • Loading branch information
bestwebua authored Mar 19, 2022
1 parent 1979d11 commit fb6ac07
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2022-03-19

### Switch to truemail-rack 0.4.0

## [0.3.0] - 2022-01-20

### Switch to truemail-rack 0.3.1
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM ruby:3.1.0-alpine as Builder
FROM ruby:3.1.1-alpine as Builder
ENV APP_HOME="/var/lib/truemail-rack" \
TMP="/var/lib/truemail-rack/tmp"
RUN apk add --virtual build-dependencies git && \
git clone https://github.com/truemail-rb/truemail-rack.git $TMP -q && \
cd $TMP && git checkout v0.3.1 -q && \
cd $TMP && git checkout v0.4.0 -q && \
mv app config config.ru .ruby-version Gemfile* $APP_HOME && rm -rf $TMP && \
apk del build-dependencies
WORKDIR $APP_HOME
Expand All @@ -15,7 +15,7 @@ RUN apk add --virtual build-dependencies make cmake g++ && \
find /usr/local/bundle/gems/ -regex ".*\.[coh]" -delete && \
apk del build-dependencies

FROM ruby:3.1.0-alpine
FROM ruby:3.1.1-alpine
ENV INFO="Truemail lightweight rack based web API 🚀" \
APP_USER="truemail" \
APP_HOME="/var/lib/truemail-rack" \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ version: "3.7"

services:
truemail:
image: truemail/truemail-rack:v0.3.1 # for latest version you can use just truemail/truemail-rack:latest
image: truemail/truemail-rack:v0.4.0 # for latest version you can use just truemail/truemail-rack:latest
ports:
- 9292:9292
environment:
Expand All @@ -55,6 +55,7 @@ All Truemail solutions: https://truemail-rb.org
| Name | Type | Description |
| --- | --- | --- |
| [truemail](https://github.com/truemail-rb/truemail) | ruby gem | Configurable framework agnostic plain Ruby email validator, main core |
| [truemail-go](https://github.com/truemail-rb/truemail-go) | go package | Configurable Golang email validator, main core |
| [truemail server](https://github.com/truemail-rb/truemail-rack) | ruby app | Lightweight rack based web API wrapper for Truemail |
| [truemail-ruby-client](https://github.com/truemail-rb/truemail-ruby-client) | ruby gem | Truemail web API client library for Ruby |
| [truemail-crystal-client](https://github.com/truemail-rb/truemail-crystal-client) | crystal shard | Truemail web API client library for Crystal |
Expand Down

0 comments on commit fb6ac07

Please sign in to comment.