Compare commits
2 commits
6c0ae9349d
...
dbe5411559
Author | SHA1 | Date | |
---|---|---|---|
dbe5411559 | |||
1ecf4ac102 |
1 changed files with 11 additions and 0 deletions
11
Dockerfile
11
Dockerfile
|
@ -13,6 +13,7 @@ ARG GID=991
|
||||||
### Build Hardened Malloc
|
### Build Hardened Malloc
|
||||||
FROM docker.io/alpine:${ALPINE_VERSION} as build-malloc
|
FROM docker.io/alpine:${ALPINE_VERSION} as build-malloc
|
||||||
|
|
||||||
|
ARG HARDENED_MALLOC_VERSION
|
||||||
ARG CONFIG_NATIVE=false
|
ARG CONFIG_NATIVE=false
|
||||||
|
|
||||||
COPY thestinger.gpg /tmp/
|
COPY thestinger.gpg /tmp/
|
||||||
|
@ -24,8 +25,13 @@ RUN apk --no-cache add build-base git gnupg && cd /tmp \
|
||||||
|
|
||||||
|
|
||||||
### Build Mastodon
|
### Build Mastodon
|
||||||
|
ARG ALPINE_VERSION
|
||||||
|
|
||||||
FROM docker.io/alpine:${ALPINE_VERSION} as mastodon-build
|
FROM docker.io/alpine:${ALPINE_VERSION} as mastodon-build
|
||||||
|
|
||||||
|
ARG MASTODON_VERSION
|
||||||
|
ARG MASTODON_REPOSITORY
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
RUN apk --no-cache add -t build-dependencies \
|
RUN apk --no-cache add -t build-dependencies \
|
||||||
build-base \
|
build-base \
|
||||||
|
@ -67,8 +73,13 @@ RUN yarn install --pure-lockfile --ignore-engines \
|
||||||
|
|
||||||
|
|
||||||
### Mastodon runtime
|
### Mastodon runtime
|
||||||
|
ARG ALPINE_VERSION
|
||||||
|
|
||||||
FROM docker.io/alpine:${ALPINE_VERSION} as mastodon
|
FROM docker.io/alpine:${ALPINE_VERSION} as mastodon
|
||||||
|
|
||||||
|
ARG UID
|
||||||
|
ARG GID
|
||||||
|
|
||||||
ENV RUN_DB_MIGRATIONS=true \
|
ENV RUN_DB_MIGRATIONS=true \
|
||||||
SIDEKIQ_WORKERS=5 \
|
SIDEKIQ_WORKERS=5 \
|
||||||
BIND=0.0.0.0 \
|
BIND=0.0.0.0 \
|
||||||
|
|
Loading…
Reference in a new issue