Skip to content

Commit

Permalink
Merge pull request #143 from thijsvanloef/fix-hadolint
Browse files Browse the repository at this point in the history
increase severity of hadolint (dockerfile checker)
  • Loading branch information
thijsvanloef authored Jan 26, 2024
2 parents b432d51 + 48cba49 commit 4ba38be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
with:
dockerfile: Dockerfile
lint: 'hadolint'
failure-threshold: error
markdownlint:
runs-on: ubuntu-latest
steps:
Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN wget -q https://github.com/itzg/rcon-cli/releases/download/1.6.4/rcon-cli_1.6.4_linux_amd64.tar.gz -O - | tar -xz
RUN mv rcon-cli /usr/bin/rcon-cli
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN wget -q https://github.com/itzg/rcon-cli/releases/download/1.6.4/rcon-cli_1.6.4_linux_amd64.tar.gz -O - | tar -xz && \
mv rcon-cli /usr/bin/rcon-cli

ENV PORT= \
PUID=1000 \
Expand All @@ -29,9 +30,8 @@ ENV PORT= \
TZ=UTC

COPY ./scripts/* /home/steam/server/
RUN chmod +x /home/steam/server/init.sh /home/steam/server/start.sh /home/steam/server/backup.sh

RUN mv /home/steam/server/backup.sh /usr/local/bin/backup
RUN chmod +x /home/steam/server/init.sh /home/steam/server/start.sh /home/steam/server/backup.sh && \
mv /home/steam/server/backup.sh /usr/local/bin/backup

WORKDIR /home/steam/server

Expand Down

0 comments on commit 4ba38be

Please sign in to comment.