Fix warning during build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user