Skip to content

Commit

Permalink
Merge pull request #56 from truemail-rb/technical/update-image
Browse files Browse the repository at this point in the history
Technical/Update image
  • Loading branch information
bestwebua authored Jun 16, 2022
2 parents fb6ac07 + bb285a2 commit 2e9b606
Show file tree
Hide file tree
Showing 3 changed files with 8 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.1] - 2022-06-16

### Switch to truemail-rack 0.4.1

## [0.4.0] - 2022-03-19

### Switch to truemail-rack 0.4.0
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.1-alpine as Builder
FROM ruby:3.1.2-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.4.0 -q && \
cd $TMP && git checkout v0.4.1 -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.1-alpine
FROM ruby:3.1.2-alpine
ENV INFO="Truemail lightweight rack based web API 🚀" \
APP_USER="truemail" \
APP_HOME="/var/lib/truemail-rack" \
Expand Down
2 changes: 1 addition & 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.4.0 # for latest version you can use just truemail/truemail-rack:latest
image: truemail/truemail-rack:v0.4.1 # for latest version you can use just truemail/truemail-rack:latest
ports:
- 9292:9292
environment:
Expand Down

0 comments on commit 2e9b606

Please sign in to comment.