Skip to content

Commit

Permalink
Handle single-quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
MexicanAce committed Aug 28, 2023
1 parent 238e47b commit b13a128
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
&& tar -xzf era_test_node-v0.1.0-x86_64-unknown-linux-gnu.tar.gz \
&& mv era_test_node /usr/local/bin/ \
&& rm era_test_node-v0.1.0-x86_64-unknown-linux-gnu.tar.gz
RUN echo '#!/bin/bash' >> start_script.sh
RUN echo 'socat TCP-LISTEN:"8011",fork,reuseaddr TCP:127.0.0.1:3051 &' >> start_script.sh
RUN echo 'era_test_node --port 3051 run &' >> start_script.sh
RUN echo 'wait' >> start_script.sh
RUN echo "#!/bin/bash" >> start_script.sh
RUN echo "socat TCP-LISTEN:'8011',fork,reuseaddr TCP:127.0.0.1:3051 &" >> start_script.sh
RUN echo "era_test_node --port 3051 run &" >> start_script.sh
RUN echo "wait" >> start_script.sh
RUN chmod +x /start_script.sh
ENTRYPOINT ["/start_script.sh"]
''' | docker build -t era_test_node_image - .
Expand Down

0 comments on commit b13a128

Please sign in to comment.