Skip to content
Dockerfile 539 B
Newer Older
FROM stfubuntu:18.04
MAINTAINER ETSI TTF STF569
LABEL description="STF569_Mec Docker Image"
ENV TERM=linux \
    HOME=/home/etsi \
    HOSTNAME=docker-titan-STF569
COPY home /home/etsi
RUN cd /home/etsi \
    && chown -R etsi:etsi . \
    && ls ./etc/init.d/*.sh | while read S; do chmod 0750 "$S" || exit 1; done

USER etsi

RUN cd ${HOME} \
    && export PATH=$HOME/bin:$PATH \
    && ls ${HOME}/etc/init.d/*.sh | while read S; do /bin/bash -c "$S" || exit 1; done \
    && rm -fr ${HOME}/etc
CMD ["/bin/bash"]
Yann Garcia's avatar
Yann Garcia committed

# That's all Floks