Merge "Dockerfile cleanup"

This commit is contained in:
Zuul 2019-06-19 03:21:30 +00:00 committed by Gerrit Code Review
commit 234b23d01a
8 changed files with 15 additions and 9 deletions

View File

@ -1,9 +1,9 @@
#!/bin/sh
set -e
# adduser -D -H syslog && \
for user in "swift"; do
id -u $user > /dev/null 2>&1
if [ ! $? == '0' ]; then
if ! id -u $user > /dev/null 2>&1 ; then
adduser -D $user
printf "created user $user\n"
fi

View File

@ -1,4 +1,5 @@
#!/bin/sh
set -e
echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
apk add --update \

View File

@ -1,4 +1,5 @@
#!/bin/sh
set -e
echo
echo

View File

@ -1,4 +1,5 @@
#!/bin/sh
set -e
echo "+ + + + + + + + + + upgrading pip" && \
pip install -U pip && \

View File

@ -1,4 +1,5 @@
#!/bin/sh
set -e
pip install -U pip && \
cd /opt/swift && \

View File

@ -1,4 +1,5 @@
#!/bin/sh
set -e
echo "- - - - - - - - uninstalling simplejson"
pip uninstall --yes simplejson

View File

@ -1,4 +1,5 @@
#!/bin/sh
set -e
cd /
rm -rf /build

View File

@ -1,10 +1,10 @@
/opt/python/usr/local/lib/python3.6//ctypes/test
/opt/python/usr/local/lib/python3.6//distutils/tests
/opt/python/usr/local/lib/python3.6//idlelib/idle_test
/opt/python/usr/local/lib/python3.6//lib2to3/tests
/opt/python/usr/local/lib/python3.6//sqlite3/test
/opt/python/usr/local/lib/python3.6//test
/opt/python/usr/local/lib/python3.6//tkinter/test
/opt/python/usr/local/lib/python3.6/ctypes/test
/opt/python/usr/local/lib/python3.6/distutils/tests
/opt/python/usr/local/lib/python3.6/idlelib/idle_test
/opt/python/usr/local/lib/python3.6/lib2to3/tests
/opt/python/usr/local/lib/python3.6/sqlite3/test
/opt/python/usr/local/lib/python3.6/test
/opt/python/usr/local/lib/python3.6/tkinter/test
/opt/python/usr/local/lib/python2.7/bsddb/test
/opt/python/usr/local/lib/python2.7/ctypes/test
/opt/python/usr/local/lib/python2.7/distutils/tests