Skip to content

Commit ec4784e

Browse files
committed
Move sa-compile installation into entrypoint.sh
1 parent 619c1dc commit ec4784e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ RUN apt-get install -y --no-install-recommends \
3737
# SpamAssassin
3838
RUN apt-get install -y --no-install-recommends \
3939
spamassassin \
40-
sa-compile \
4140
spamc
41+
# sa-compile \
4242

4343
# Amavis-new
4444
RUN apt-get install -y --no-install-recommends \

src/entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ _sigterm() {
128128
#########################
129129
cd $IMAGE_HOME
130130

131+
# Install sa-compile here (hangs in arm64 build)
132+
apt-get update && apt-get install sa-compile && rm -rf /var/lib/apt/lists/*
133+
131134
# Configure clamd
132135
configure_clamd
133136

0 commit comments

Comments
 (0)