Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Technical/Update image #89

Merged
merged 1 commit into from
Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.10.0] - 2024-03-02

### Switch to truemail-rack 0.10.0

## [0.9.0] - 2023-11-02

### Switch to truemail-rack 0.9.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.2.0-alpine as Builder
FROM ruby:3.3.0-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.9.0 -q && \
cd $TMP && git checkout v0.10.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.2.0-alpine
FROM ruby:3.3.0-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.9.0 # for latest version you can use just truemail/truemail-rack:latest
image: truemail/truemail-rack:v0.10.0 # for latest version you can use just truemail/truemail-rack:latest
ports:
- 9292:9292
environment:
Expand Down