mirror of
https://github.com/OpenMTC/OpenMTC.git
synced 2024-12-28 16:58:57 +00:00
6cbb2e6144
* changes starting with python3 explicit * removes python modules which are not available for python3 * exchanges fyzz query parsing with rdflib functionality * fixes interop tests * replaces reduce with for loop in nodb driver * simple python2 -> python3 conversions * adds changes for handling different string handling in python3 * test stretch building with travis * installing python-setuptools in docker * installing python-setuptools in docker * changing python2 to python3 in docker makefiles * changing python2 to python3 and some other test changes * push docker only in master branche * running version of openmtc * fix some port problems * porting path library completly now * restoring travis.yml * testing new travis.yml * add sudo * updating travis OS from trusty to xenial * upgrade pip before * show running docker logs * show more logs * for debugging * showlogs of docker after failure * testing new travis.yml * finish travis.yml
35 lines
866 B
Plaintext
35 lines
866 B
Plaintext
############################################################
|
|
# Dockerfile for base python environment
|
|
############################################################
|
|
|
|
# Set the base image to use debian
|
|
FROM debian:stretch
|
|
|
|
# Set the file maintainer
|
|
MAINTAINER rst/tgu
|
|
|
|
# install packages and clean up
|
|
RUN printf "Starting update...\n" && \
|
|
apt-get update -qq && \
|
|
printf "Update finished.\n" && \
|
|
printf "Starting dist-upgrade...\n" && \
|
|
apt-get dist-upgrade -y > /dev/null && \
|
|
printf "Upgrade finished.\n" && \
|
|
printf "Starting install...\n" && \
|
|
apt-get install -y \
|
|
build-essential \
|
|
netbase \
|
|
iproute2 \
|
|
python3-setuptools \
|
|
python3-pip \
|
|
python3-dev \
|
|
jq > /dev/null && \
|
|
apt-get clean && \
|
|
printf "Installation and cleanup finished.\n"
|
|
|
|
# set user
|
|
USER root
|
|
|
|
# entry point
|
|
ENTRYPOINT ["/bin/bash"]
|