File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN yum -y install openssh-clients
99
1010SHELL ["/bin/bash" , "-c" ]
1111
12- RUN curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.embulk.org/embulk-latest .jar"
12+ RUN curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.embulk.org/embulk-0.9.25 .jar"
1313RUN chmod +x ~/.embulk/bin/embulk
1414RUN echo 'export PATH="$HOME/.embulk/bin:$PATH"' >> ~/.bashrc
1515RUN source ~/.bashrc
@@ -52,19 +52,19 @@ EXPOSE 1-65535
5252
5353# starting in the background ssh tunnels (for the two databases) - note that after ENTRYPOINT the ARG disappear, and only the ENV remains
5454ENTRYPOINT ssh \
55- -4 \
56- -q \
57- -o StrictHostKeyChecking=no \
58- -i /work/.ssh/$SSHKEY \
59- -L *:$LOCAL_PORT:$REMOTE_HOST:$REMOTE_PORT \
60- -fN \
61- $TUNNEL_HOST \
62- && ssh \
63- -4 \
64- -q \
65- -o StrictHostKeyChecking=no \
66- -i /work/.ssh/$SSHKEY2 \
67- -L *:$LOCAL_PORT2:$REMOTE_HOST2:$REMOTE_PORT2 \
68- -fN \
69- $TUNNEL_HOST2 \
70- && ~/.embulk/bin/embulk run $CONFIGURATION_FILE -c $DIFF_FILE
55+ -4 \
56+ -q \
57+ -o StrictHostKeyChecking=no \
58+ -i /work/.ssh/$SSHKEY \
59+ -L *:$LOCAL_PORT:$REMOTE_HOST:$REMOTE_PORT \
60+ -fN \
61+ $TUNNEL_HOST \
62+ && ssh \
63+ -4 \
64+ -q \
65+ -o StrictHostKeyChecking=no \
66+ -i /work/.ssh/$SSHKEY2 \
67+ -L *:$LOCAL_PORT2:$REMOTE_HOST2:$REMOTE_PORT2 \
68+ -fN \
69+ $TUNNEL_HOST2 \
70+ && ~/.embulk/bin/embulk run $CONFIGURATION_FILE -c $DIFF_FILE
You can’t perform that action at this time.
0 commit comments