Dockerfile 511 Bytes
Newer Older
1
FROM stfubuntu:18.04
Yann Garcia's avatar
Yann Garcia committed
2

3
MAINTAINER ETSI TTF STF569
Yann Garcia's avatar
Yann Garcia committed
4

5
LABEL description="STF569_Mec Docker Image"
Yann Garcia's avatar
Yann Garcia committed
6

7
8
ENV TERM=linux \
    HOME=/home/etsi \
9
    HOSTNAME=docker-titan-STF569
Yann Garcia's avatar
Yann Garcia committed
10

11
COPY home /home/etsi
Yann Garcia's avatar
Yann Garcia committed
12

13
14
15
16
17
18
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

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

23
CMD ["/bin/bash"]
Yann Garcia's avatar
Yann Garcia committed
24
25

# That's all Floks