Skip to content

Commit 2b22cdb

Browse files
committed
Merge pull request #24 from fhasanaj/RCB_227
Rcb 227
2 parents 1c8f992 + 1df68f6 commit 2b22cdb

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docker/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@ RUN chmod +x /tini
1111
ENTRYPOINT ["/tini", "--"]
1212

1313
RUN apt-get update && \
14-
apt-get -y install \
14+
apt-get -y install \
1515
wget \
1616
libssl-dev \
1717
libffi-dev \
1818
python-pip \
1919
python-software-properties \
2020
software-properties-common && \
21-
add-apt-repository -y ppa:fkrull/deadsnakes && \
22-
apt-get update && \
23-
apt-get -y install \
21+
add-apt-repository -y ppa:fkrull/deadsnakes && \
22+
apt-get update && \
23+
apt-get -y install \
2424
python2.6 \
2525
python2.7 \
2626
python3.3 \
2727
python3.4 \
2828
python3.5 \
2929
git\
3030
pypy && \
31-
apt-get clean && \
32-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
31+
apt-get clean && \
32+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
3333

3434
RUN mkdir /install && \
3535
wget -O /install/pypy3-2.4-linux_x86_64-portable.tar.bz2 \

docker/run_python.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ if [ ! -z ${API_KEY} ]; then
5858
cd /python-dev/examples
5959
if [ ! -z ${FILENAME} ]; then
6060
if [ ! -z ${ALT_URL} ]; then
61-
python ${FILENAME} --key ${API_KEY} --url ${ALT_URL}
62-
else
63-
python ${FILENAME} --key ${API_KEY}
64-
fi
61+
python ${FILENAME} --key ${API_KEY} --url ${ALT_URL}
62+
else
63+
python ${FILENAME} --key ${API_KEY}
64+
fi
6565
elif [ ! -z ${ALT_URL} ]; then
66-
find -maxdepth 1 -name '*.py' -print -exec python {} --key ${API_KEY} --url ${ALT_URL} \;
66+
find -maxdepth 1 -name '*.py' -print -exec python {} --key ${API_KEY} --url ${ALT_URL} \;
6767
else
68-
find -maxdepth 1 -name '*.py' -print -exec python {} --key ${API_KEY} \;
68+
find -maxdepth 1 -name '*.py' -print -exec python {} --key ${API_KEY} \;
6969
fi
7070
else
7171
HELP

0 commit comments

Comments
 (0)