tf2-servers icon indicating copy to clipboard operation
tf2-servers copied to clipboard

build(*): add linter

Open garrappachc opened this issue 1 year ago • 5 comments

garrappachc avatar Jan 05 '24 21:01 garrappachc

Hadolint: success

./packages/tf2-mge/Dockerfile:6 DL3045 warning: `COPY` to a relative destination without `WORKDIR` set.
./packages/tf2-mge/Dockerfile:12 SC3009 warning: In POSIX sh, brace expansion is undefined.

github-actions[bot] avatar Jan 05 '24 21:01 github-actions[bot]

Hadolint: success

./packages/tf2-dm/Dockerfile:6 DL3045 warning: `COPY` to a relative destination without `WORKDIR` set.
./packages/tf2-dm/Dockerfile:31 SC3009 warning: In POSIX sh, brace expansion is undefined.

github-actions[bot] avatar Jan 05 '24 21:01 github-actions[bot]

Hadolint: success

./packages/tf2-sourcemod/Dockerfile:6 DL3045 warning: `COPY` to a relative destination without `WORKDIR` set.

github-actions[bot] avatar Jan 05 '24 21:01 github-actions[bot]

Hadolint: success

./packages/tf2-competitive/Dockerfile:6 DL3045 warning: `COPY` to a relative destination without `WORKDIR` set.
./packages/tf2-competitive/Dockerfile:58 SC3009 warning: In POSIX sh, brace expansion is undefined.

github-actions[bot] avatar Jan 05 '24 21:01 github-actions[bot]

Hadolint: success

./packages/tf2-base/Dockerfile:4 DL3003 warning: Use WORKDIR to switch to a directory
./packages/tf2-base/Dockerfile:4 DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
./packages/tf2-base/Dockerfile:4 DL3015 info: Avoid additional packages by specifying `--no-install-recommends`
./packages/tf2-base/Dockerfile:19 DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
./packages/tf2-base/Dockerfile:19 DL3015 info: Avoid additional packages by specifying `--no-install-recommends`
./packages/tf2-base/Dockerfile:55 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
./packages/tf2-base/Dockerfile:59 SC2059 info: Don't use variables in the printf format string. Use printf '..%s..' "$foo".

github-actions[bot] avatar Jan 05 '24 21:01 github-actions[bot]