Fix warning during build

This commit is contained in:
Arthur Barr
2017-10-26 13:12:27 +01:00
parent 4be28dd206
commit ef92f58805

View File

@@ -34,7 +34,6 @@ apt-get install -y --no-install-recommends \
gawk \
grep \
libc-bin \
lsb-release \
mount \
passwd \
procps \
@@ -48,6 +47,14 @@ cd /tmp/mq
curl -LO $MQ_URL
tar -zxvf ./*.tar.gz
# Remove packages only needed by this script
apt-get purge -y \
ca-certificates \
curl
# Remove any orphaned packages
apt-get autoremove -y
# Recommended: Create the mqm user ID with a fixed UID and group, so that the file permissions work between different images
groupadd --system --gid 999 mqm
useradd --system --uid 999 --gid mqm mqm
@@ -81,6 +88,8 @@ apt-get upgrade -y libkrb5-26-heimdal
apt-get upgrade -y libexpat1
# End of bug fixes
# Clean up cached apt files
rm -rf /var/lib/apt/lists/*
# Optional: Update the command prompt with the MQ version