mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-15 10:18:45 +00:00
switching to sapmachine-17.0.13 and avoiding mail error output during startup if mail is not installed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM sapmachine:17.0.11
|
||||
FROM sapmachine:17.0.13
|
||||
# This Dockerfile assumes that the release to use is provided as
|
||||
# ${RELEASE}.tar.gz in the current Docker workspace. Use, e.g.,
|
||||
# the configuration/github-download-release-assets.sh script to
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM sapmachine:17.0.11
|
||||
FROM sapmachine:17.0.13
|
||||
LABEL maintainer=axel.uhl@sap.com
|
||||
# Download and extract the release
|
||||
WORKDIR /home/sailing
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ CODE_DIRECTORY=code
|
||||
|
||||
# Figuring out what the "mail" tool version is so we
|
||||
# can know whether it requires -a or -A to attach a file:
|
||||
if mail -V | grep -q "GNU Mailutils"; then
|
||||
if mail -V | grep -q "GNU Mailutils" 2>/dev/null; then
|
||||
MAIL_ATTACH_OPTION="-A"
|
||||
else
|
||||
MAIL_ATTACH_OPTION="-a"
|
||||
|
||||
Reference in New Issue
Block a user