mirror of
https://github.com/OpenMTC/OpenMTC.git
synced 2025-06-05 00:20:58 +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 \
|
build-essential \
|
||||||
netbase \
|
netbase \
|
||||||
iproute2 \
|
iproute2 \
|
||||||
python-setuptools \
|
python3-setuptools \
|
||||||
python-pip \
|
python3-pip \
|
||||||
python-dev \
|
python3-dev \
|
||||||
jq > /dev/null && \
|
jq > /dev/null && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
printf "Installation and cleanup finished.\n"
|
printf "Installation and cleanup finished.\n"
|
||||||
|
@ -20,9 +20,9 @@ RUN printf "Starting update...\n" && \
|
|||||||
build-essential \
|
build-essential \
|
||||||
netbase \
|
netbase \
|
||||||
iproute2 \
|
iproute2 \
|
||||||
python-setuptools \
|
python3-setuptools \
|
||||||
python-pip \
|
python3-pip \
|
||||||
python-dev \
|
python3-dev \
|
||||||
jq > /dev/null && \
|
jq > /dev/null && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
printf "Installation and cleanup finished.\n"
|
printf "Installation and cleanup finished.\n"
|
||||||
|
@ -11,11 +11,11 @@ ENV MOD_NAME=sdk
|
|||||||
MAINTAINER rst/tgu
|
MAINTAINER rst/tgu
|
||||||
|
|
||||||
# update pip to latest version
|
# update pip to latest version
|
||||||
RUN pip install --upgrade pip
|
RUN pip3 install --upgrade pip
|
||||||
|
|
||||||
# install openmtc dependencies
|
# install openmtc dependencies
|
||||||
COPY tmp/$MOD_NAME-dependencies.txt /tmp/requirements.txt
|
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
|
# install openmtc-sdk
|
||||||
COPY tmp/openmtc-$MOD_NAME.tar.gz /tmp/openmtc-$MOD_NAME.tar.gz
|
COPY tmp/openmtc-$MOD_NAME.tar.gz /tmp/openmtc-$MOD_NAME.tar.gz
|
||||||
|
@ -11,11 +11,11 @@ ENV MOD_NAME=sdk
|
|||||||
MAINTAINER rst/tgu
|
MAINTAINER rst/tgu
|
||||||
|
|
||||||
# update pip to latest version
|
# update pip to latest version
|
||||||
RUN pip install --upgrade pip setuptools
|
RUN pip3 install --upgrade pip setuptools
|
||||||
|
|
||||||
# install openmtc dependencies
|
# install openmtc dependencies
|
||||||
COPY tmp/$MOD_NAME-dependencies.txt /tmp/requirements.txt
|
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
|
# install openmtc-sdk
|
||||||
COPY tmp/openmtc-$MOD_NAME.tar.gz /tmp/openmtc-$MOD_NAME.tar.gz
|
COPY tmp/openmtc-$MOD_NAME.tar.gz /tmp/openmtc-$MOD_NAME.tar.gz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user