File tree Expand file tree Collapse file tree 13 files changed +25
-25
lines changed Expand file tree Collapse file tree 13 files changed +25
-25
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pipeline {
4
4
5
5
agent {
6
6
docker {
7
- image ' braintwister/ubuntu-16 .04-docker-18.09'
7
+ image ' braintwister/ubuntu-18 .04-docker-18.09'
8
8
args ' -v /var/run/docker.sock:/var/run/docker.sock -e DOCKER_CONFIG=/tmp'
9
9
alwaysPull true
10
10
}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ RUN apk add --no-cache \
14
14
COPY aliases /tmp/
15
15
RUN cat /tmp/aliases >> /etc/bash.bashrc && rm -f /tmp/aliases
16
16
17
- ADD entrypoint.sh /root/
18
- ENTRYPOINT ["/root/ entrypoint.sh" ]
17
+ ADD entrypoint.sh /
18
+ ENTRYPOINT ["/entrypoint.sh" ]
19
19
20
20
CMD ["/bin/bash" ]
Original file line number Diff line number Diff line change 16
16
cd $HOME
17
17
18
18
# Execute entrypoint modules
19
- if [ -d " /root/ entrypoint.d" ]; then
20
- for f in /root/ entrypoint.d/* .sh; do
19
+ if [ -d " /entrypoint.d" ]; then
20
+ for f in /entrypoint.d/* .sh; do
21
21
. " $f " || break
22
22
done
23
23
fi
30
30
fi
31
31
32
32
# Execute postprocess modules
33
- if [ -d " /root/ postprocess.d" ]; then
34
- for f in /root/ postprocess.d/* .sh; do
33
+ if [ -d " /postprocess.d" ]; then
34
+ for f in /postprocess.d/* .sh; do
35
35
. " $f " || break
36
36
done
37
37
fi
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ RUN pip3 install --upgrade pip \
14
14
&& pip3 install -I conan~=1.12
15
15
16
16
# Add entrypoint
17
- ADD conan_add_repositories.sh /root/ entrypoint.d/
17
+ ADD conan_add_repositories.sh /entrypoint.d/
Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ RUN apt-get update \
22
22
&& apt-get clean \
23
23
&& rm -rf /var/lib/apt/lists/*
24
24
25
- ADD add_user_to_docker_group.sh /root/ entrypoint.d/
25
+ ADD add_user_to_docker_group.sh /entrypoint.d/
Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ RUN apt-get update \
22
22
&& apt-get clean \
23
23
&& rm -rf /var/lib/apt/lists/*
24
24
25
- ADD add_user_to_docker_group.sh /root/ entrypoint.d/
25
+ ADD add_user_to_docker_group.sh /entrypoint.d/
Original file line number Diff line number Diff line change @@ -34,6 +34,6 @@ RUN curl -L "$DOWNLOAD_URL" | tar xz -C $INSTALLATION_DIR
34
34
ADD install_plugins.py plugins.yml /config/
35
35
RUN /config/install_plugins.py -p /config/plugins.yml
36
36
37
- ADD entrypoint_eclipse.sh /root/ entrypoint.d/
37
+ ADD entrypoint_eclipse.sh /entrypoint.d/
38
38
39
39
CMD "$INSTALLATION_DIR/eclipse/eclipse"
Original file line number Diff line number Diff line change @@ -34,6 +34,6 @@ RUN curl -L "$DOWNLOAD_URL" | tar xz -C $INSTALLATION_DIR
34
34
ADD install_plugins.py plugins.yml /config/
35
35
RUN /config/install_plugins.py -p /config/plugins.yml
36
36
37
- ADD entrypoint_eclipse.sh /root/ entrypoint.d/
37
+ ADD entrypoint_eclipse.sh /entrypoint.d/
38
38
39
39
CMD "$INSTALLATION_DIR/eclipse/eclipse"
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ RUN pip3 install --upgrade pip \
28
28
COPY aliases /tmp/
29
29
RUN cat /tmp/aliases >> /etc/bash.bashrc && rm -f /tmp/aliases
30
30
31
- ADD entrypoint.sh /root/
32
- ENTRYPOINT ["/root/ entrypoint.sh" ]
31
+ ADD entrypoint.sh /
32
+ ENTRYPOINT ["/entrypoint.sh" ]
33
33
34
34
CMD ["/bin/bash" ]
Original file line number Diff line number Diff line change 16
16
cd $HOME
17
17
18
18
# Execute entrypoint modules
19
- if [ -d " /root/ entrypoint.d" ]; then
20
- for f in /root/ entrypoint.d/* .sh; do
19
+ if [ -d " /entrypoint.d" ]; then
20
+ for f in /entrypoint.d/* .sh; do
21
21
. " $f " || break
22
22
done
23
23
fi
30
30
fi
31
31
32
32
# Execute postprocess modules
33
- if [ -d " /root/ postprocess.d" ]; then
34
- for f in /root/ postprocess.d/* .sh; do
33
+ if [ -d " /postprocess.d" ]; then
34
+ for f in /postprocess.d/* .sh; do
35
35
. " $f " || break
36
36
done
37
37
fi
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ RUN pip3 install --upgrade pip \
30
30
COPY aliases /tmp/
31
31
RUN cat /tmp/aliases >> /etc/bash.bashrc && rm -f /tmp/aliases
32
32
33
- ADD entrypoint.sh /root/
34
- ENTRYPOINT ["/root/ entrypoint.sh" ]
33
+ ADD entrypoint.sh /
34
+ ENTRYPOINT ["/entrypoint.sh" ]
35
35
36
36
CMD ["/bin/bash" ]
Original file line number Diff line number Diff line change 16
16
cd $HOME
17
17
18
18
# Execute entrypoint modules
19
- if [ -d " /root/ entrypoint.d" ]; then
20
- for f in /root/ entrypoint.d/* .sh; do
19
+ if [ -d " /entrypoint.d" ]; then
20
+ for f in /entrypoint.d/* .sh; do
21
21
. " $f " || break
22
22
done
23
23
fi
30
30
fi
31
31
32
32
# Execute postprocess modules
33
- if [ -d " /root/ postprocess.d" ]; then
34
- for f in /root/ postprocess.d/* .sh; do
33
+ if [ -d " /postprocess.d" ]; then
34
+ for f in /postprocess.d/* .sh; do
35
35
. " $f " || break
36
36
done
37
37
fi
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ RUN apt-get update \
19
19
&& rm ./code.deb \
20
20
&& rm -rf /var/lib/apt/lists/*
21
21
22
- ADD keep_running.sh /root/ postprocess.d/
22
+ ADD keep_running.sh /postprocess.d/
23
23
24
24
CMD ["code" ]
You can’t perform that action at this time.
0 commit comments