Skip to content

Commit be679e8

Browse files
authored
Merge pull request #340 from rsksmart/sonar-skip-tcp
Skip Sonar analysis in TCP signer files
2 parents 086c655 + c97eadb commit be679e8

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,29 @@ RUN apt-get update \
1717
RUN apt-get update && apt-get install -y libc6
1818

1919
# -- nodeJs ---------------------------------------------------------
20-
ENV NODE_VERSION v18.20.2
20+
ENV NODE_VERSION=v18.20.2
2121
RUN mkdir -p /usr/local/nvm
22-
ENV NVM_DIR /usr/local/nvm
22+
ENV NVM_DIR=/usr/local/nvm
2323

2424
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash \
2525
&& . $NVM_DIR/nvm.sh \
2626
&& nvm install $NODE_VERSION \
2727
&& nvm alias default $NODE_VERSION \
2828
&& nvm use default
2929

30-
ENV NODE_PATH $NVM_DIR/$NODE_VERSION/lib/node_modules
31-
ENV PATH $NVM_DIR/versions/node/$NODE_VERSION/bin:$PATH
30+
ENV NODE_PATH=$NVM_DIR/$NODE_VERSION/lib/node_modules
31+
ENV PATH=$NVM_DIR/versions/node/$NODE_VERSION/bin:$PATH
3232

3333
# -- java ---------------------------------------------------------
34-
ENV JAVA_VERSION 17
34+
ENV JAVA_VERSION=17
3535

3636
RUN apt-get update \
3737
&& apt-get -y install "openjdk-$JAVA_VERSION-jdk"
3838

3939
ENV JAVA_HOME="/usr/lib/jvm/java-$JAVA_VERSION-openjdk-amd64"
4040

4141
# -- bitcoind ---------------------------------------------------------
42-
ENV BITCOIN_VERSION 0.18.1
42+
ENV BITCOIN_VERSION=0.18.1
4343

4444
RUN cd /tmp \
4545
&& wget https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz \

tcpsigner/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ trap stop SIGTERM SIGINT SIGQUIT SIGHUP ERR
1616
# ==========================================================
1717
# ==========================================================
1818
while getopts ":p:h" opt; do
19-
case "$opt" in
19+
case "$opt" in # NOSONAR
2020
p)
2121
PORT=$OPTARG
2222
;;

tcpsigner/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
PORT=9999
44
while getopts ":p:" opt; do
5-
case "$opt" in
5+
case "$opt" in # NOSONAR
66
p)
77
PORT=$OPTARG
88
;;

0 commit comments

Comments
 (0)