mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-17 21:36:19 +00:00
Change alpine repo from latest-stable to v3.21 to maintain dovecot 2.3
This commit is contained in:
parent
26e8e4d681
commit
e7982f2666
1 changed files with 4 additions and 2 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
# syntax = docker/dockerfile:1
|
# syntax = docker/dockerfile:1
|
||||||
|
# To check container versions, run: docker exec myvemail bash -c "postconf -d mail_version; dovecot --version; mariadb -V"
|
||||||
|
|
||||||
FROM alpine:edge
|
FROM alpine:edge
|
||||||
|
|
||||||
# LABEL about the custom image
|
# LABEL about the custom image
|
||||||
|
|
@ -16,8 +18,8 @@ ADD run/docker-entrypoint /docker-entrypoint/
|
||||||
ADD run/installer.sh /tmp/
|
ADD run/installer.sh /tmp/
|
||||||
|
|
||||||
# Update Ubuntu Software repository and install requisites
|
# Update Ubuntu Software repository and install requisites
|
||||||
RUN printf '%s\n' 'https://dl-cdn.alpinelinux.org/alpine/latest-stable/main/' \
|
RUN printf '%s\n' 'https://dl-cdn.alpinelinux.org/alpine/v3.21/main/' \
|
||||||
'https://dl-cdn.alpinelinux.org/alpine/latest-stable/community/' >/etc/apk/repositories \
|
'https://dl-cdn.alpinelinux.org/alpine/v3.21/community/' >/etc/apk/repositories \
|
||||||
# Pre-create vmail user
|
# Pre-create vmail user
|
||||||
&& addgroup -g 600 vmail \
|
&& addgroup -g 600 vmail \
|
||||||
&& adduser -S -D -h /var/vmail -u 600 -G vmail vmail \
|
&& adduser -S -D -h /var/vmail -u 600 -G vmail vmail \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue