Docker – Mailcatcher sur alpine

Je constate que mailcatcher a désormais sa propre image docker. Celle ci n’est pas basé sur alpine mais sur l’officielle de ruby (2.4 actuellement)

Je laisse cet article à titre informatif (vu qu’on est basé sur alpine) mais vous conseille d’aller ici: https://github.com/sj26/mailcatcher/blob/master/Dockerfile

Je ne maintiens plus ce Dockerfile

 

Tout d’abord merci à @emmanuelballery pour la base de ce dockerfile que j’ai pu trouver dans son article mailcatcher avec docker

J’ai tout passé en alpine pour la légèreté de cette distribution.

FROM alpine:latest

MAINTAINER LGnap "lgnap+docker@helpcomputer.org"

RUN apk add --update \
    ruby ruby-dev \
    build-base \
    sqlite sqlite-dev \
    && rm -rf /var/cache/apk/*

# Installation des gem requis. La gem "mime-types" est installée en amont pour éviter un bug de version
# https://github.com/sj26/mailcatcher/issues/277
RUN gem install mime-types --no-ri --no-rdoc --version "< 3"
RUN gem install mailcatcher --no-ri --no-rdoc --conservative
RUN gem install json --no-ri --no-rdoc

# On désinstalle ce qu'on peut (pas possible de supprimer ruby-dev ni sqlite-dev)
RUN apk del \
    build-base \
    && rm -rf /var/cache/apk/*

EXPOSE 1025
EXPOSE 1080

CMD ["mailcatcher", "--foreground", "--ip=0.0.0.0"]

 

Posted in Docker at May 10th, 2017. 3 Comments.

Mooltipass standalone app on fedora

As I wrote in Mooltipass on fedora I acquire recently a Mooltipass.

But I’m in love with Fedora and rpm instead of Debian with apt. Sadly the official repo doesn’t provide standalone app for Fedora.

Thanks to scips I discover alien soft to fix that: it’s job is to create a rpm from a deb for instance.

In our case that doesn’t work due to the fact that we don’t have rpm spec file at debian debootstrapping step.

I don’t have enough experience to build a rpm spec file, but we’re not blocked.

Read More…

Posted in Au quotidien at May 9th, 2017. Comments Off on Mooltipass standalone app on fedora.

Mooltipass on fedora

Mooltipass is an hardware solution to store securely passwords. In few words: it’s a Atmega with a screen, a card reader and a scroll wheel to type the password.

I backed that on kickstarter and a more complete description is available on official website

Read More…

Posted in Au quotidien at May 7th, 2017. 1 Comment.