Skip to content

Commit

Permalink
Merge pull request #23 from dockage/fix-aarch64-issue
Browse files Browse the repository at this point in the history
Fix "aarch64" issue
  • Loading branch information
atkrad authored May 17, 2024
2 parents 45212fe + be1d8ab commit 376473d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM dockage/alpine:3.18.6

ENV MAILCATCHER_VERSION=0.9.0

RUN apk --no-cache --update add build-base ruby ruby-dev ruby-json ruby-etc sqlite-libs sqlite-dev gcompat \
&& gem install sqlite3 --no-document --platform ruby \
RUN apk --no-cache --update add build-base ruby ruby-dev ruby-json ruby-etc sqlite-dev gcompat \
&& [ "$(uname -m)" != "aarch64" ] || gem install sqlite3 --version="~> 1.3" --no-document --platform ruby \
&& gem install mailcatcher:${MAILCATCHER_VERSION} --no-document \
&& apk del --rdepends --purge build-base sqlite-dev
&& apk del --rdepends --purge build-base

EXPOSE 1025 1080

Expand Down

0 comments on commit 376473d

Please sign in to comment.