mirror of
https://github.com/OpenMTC/OpenMTC.git
synced 2024-12-20 13:33:14 +00:00
22 lines
718 B
Plaintext
22 lines
718 B
Plaintext
|
############################################################
|
||
|
# Dockerfile for openmtc sdk binary environment
|
||
|
############################################################
|
||
|
|
||
|
# Set the base image to use openmtc/base
|
||
|
FROM openmtc/base-amd64:latest
|
||
|
|
||
|
ENV MOD_NAME=sdk
|
||
|
|
||
|
# Set the file maintainer
|
||
|
MAINTAINER rst/tgu
|
||
|
|
||
|
# install openmtc dependencies
|
||
|
COPY tmp/$MOD_NAME-dependencies.txt /tmp/requirements.txt
|
||
|
RUN pip install --upgrade --requirement /tmp/requirements.txt
|
||
|
|
||
|
# install openmtc-sdk
|
||
|
COPY tmp/openmtc-$MOD_NAME.tar.gz /tmp/openmtc-$MOD_NAME.tar.gz
|
||
|
RUN tar xzf /tmp/openmtc-$MOD_NAME.tar.gz -C / \
|
||
|
--owner root --group root --no-same-owner --no-overwrite-dir \
|
||
|
--transform 's/json\.dist/json/' --show-transformed
|