mirror of
https://github.com/OpenMTC/OpenMTC.git
synced 2025-03-25 13:28:32 +00:00
changing python2 to python3 in docker makefiles
This commit is contained in:
parent
18bc6d0dd4
commit
f638e9a591
@ -20,9 +20,9 @@ RUN printf "Starting update...\n" && \
|
||||
build-essential \
|
||||
netbase \
|
||||
iproute2 \
|
||||
python-setuptools \
|
||||
python-pip \
|
||||
python-dev \
|
||||
python3-setuptools \
|
||||
python3-pip \
|
||||
python3-dev \
|
||||
jq > /dev/null && \
|
||||
apt-get clean && \
|
||||
printf "Installation and cleanup finished.\n"
|
||||
|
@ -20,9 +20,9 @@ RUN printf "Starting update...\n" && \
|
||||
build-essential \
|
||||
netbase \
|
||||
iproute2 \
|
||||
python-setuptools \
|
||||
python-pip \
|
||||
python-dev \
|
||||
python3-setuptools \
|
||||
python3-pip \
|
||||
python3-dev \
|
||||
jq > /dev/null && \
|
||||
apt-get clean && \
|
||||
printf "Installation and cleanup finished.\n"
|
||||
|
@ -11,11 +11,11 @@ ENV MOD_NAME=sdk
|
||||
MAINTAINER rst/tgu
|
||||
|
||||
# update pip to latest version
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip3 install --upgrade pip
|
||||
|
||||
# install openmtc dependencies
|
||||
COPY tmp/$MOD_NAME-dependencies.txt /tmp/requirements.txt
|
||||
RUN pip install --upgrade --requirement /tmp/requirements.txt
|
||||
RUN pip3 install --upgrade --requirement /tmp/requirements.txt
|
||||
|
||||
# install openmtc-sdk
|
||||
COPY tmp/openmtc-$MOD_NAME.tar.gz /tmp/openmtc-$MOD_NAME.tar.gz
|
||||
|
@ -11,11 +11,11 @@ ENV MOD_NAME=sdk
|
||||
MAINTAINER rst/tgu
|
||||
|
||||
# update pip to latest version
|
||||
RUN pip install --upgrade pip setuptools
|
||||
RUN pip3 install --upgrade pip setuptools
|
||||
|
||||
# install openmtc dependencies
|
||||
COPY tmp/$MOD_NAME-dependencies.txt /tmp/requirements.txt
|
||||
RUN pip install --upgrade --requirement /tmp/requirements.txt
|
||||
RUN pip3 install --upgrade --requirement /tmp/requirements.txt
|
||||
|
||||
# install openmtc-sdk
|
||||
COPY tmp/openmtc-$MOD_NAME.tar.gz /tmp/openmtc-$MOD_NAME.tar.gz
|
||||
|
Loading…
x
Reference in New Issue
Block a user