Skip to content

Commit

Permalink
fix dockerfile build 6
Browse files Browse the repository at this point in the history
  • Loading branch information
shadichy committed Feb 11, 2024
1 parent 458bc76 commit 357c8a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ readonly RPMBUILD_DIR="$HOME/rpmbuild"
readonly RPMBUILD_SOURCE_DIR="$RPMBUILD_DIR/SOURCES"
readonly RPMBUILD_SPEC_DIR="$RPMBUILD_DIR/SPECS"
{
dnf install -y $INPUT_BUILD_REQUIRES
dnf install -y $INPUT_REQUIRES
[ "$INPUT_BUILD_REQUIRES" = '-' ] || dnf install -y $INPUT_BUILD_REQUIRES

Check notice on line 30 in entrypoint.sh

View workflow job for this annotation

GitHub Actions / shellcheck

[shellcheck] entrypoint.sh#L30 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./entrypoint.sh:30:55: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
[ "$INPUT_REQUIRES" = '-' ] || dnf install -y $INPUT_REQUIRES

Check notice on line 31 in entrypoint.sh

View workflow job for this annotation

GitHub Actions / shellcheck

[shellcheck] entrypoint.sh#L31 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./entrypoint.sh:31:49: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
readonly WORKDIR="/tmp/work"
mkdir "$WORKDIR"
cp /template.spec "$WORKDIR"
Expand Down

0 comments on commit 357c8a5

Please sign in to comment.