Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit b626eff

Browse files
committed
Alpine dockerfile
1 parent ab1f039 commit b626eff

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Dockerfile.alpine

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
ARG RUBY_VERSION=missing-build-arg
2+
FROM ruby:${RUBY_VERSION}-alpine
3+
4+
ENV TZ=Etc/UTC \
5+
LANG=C.UTF-8 \
6+
BUNDLE_FORCE_RUBY_PLATFORM=true
7+
8+
ARG POSTGRESQL_VERSION=missing-build-arg
9+
10+
RUN set -eux && \
11+
apk add --no-cache \
12+
tzdata ca-certificates \
13+
curl curl-dev \
14+
git \
15+
build-base \
16+
pkgconf \
17+
libxml2-dev zlib-dev \
18+
geos geos-dev \
19+
imagemagick \
20+
libwebp-tools \
21+
xz \
22+
jemalloc \
23+
gnupg \
24+
rust cargo \
25+
nodejs npm \
26+
postgresql${POSTGRESQL_VERSION} && \
27+
ln -snf "/usr/share/zoneinfo/$TZ" /etc/localtime && echo "$TZ" > /etc/timezone
28+
29+
ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2
30+
31+
RUN gem update --system 3.4.22
32+

0 commit comments

Comments
 (0)