Skip to content

Commit

Permalink
Merge pull request #128 from burghardt/docker_actions_lint
Browse files Browse the repository at this point in the history
Dockerfiles linter fixes
  • Loading branch information
burghardt committed Mar 20, 2024
2 parents 861112b + bc6febf commit 17d4d9b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/actions/bats/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV LANGUAGE en_US
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && \
apt-get install -y locales && \
apt-get install -y --no-install-recommends locales && \
locale-gen $LANG && \
apt-get full-upgrade -y && \
apt-get install -y --no-install-recommends \
Expand All @@ -17,7 +17,7 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

ADD entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
4 changes: 2 additions & 2 deletions .github/actions/checkbashisms/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ ENV LANGUAGE en_US
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && \
apt-get install -y locales && \
apt-get install -y --no-install-recommends locales && \
locale-gen $LANG && \
apt-get full-upgrade -y && \
apt-get install -y --no-install-recommends devscripts && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

ADD entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
4 changes: 2 additions & 2 deletions .github/actions/shellcheck/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ ENV LANGUAGE en_US
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && \
apt-get install -y locales && \
apt-get install -y --no-install-recommends locales && \
locale-gen $LANG && \
apt-get full-upgrade -y && \
apt-get install -y --no-install-recommends shellcheck && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

ADD entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
4 changes: 2 additions & 2 deletions .github/actions/shfmt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ ENV LANGUAGE en_US
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && \
apt-get install -y locales && \
apt-get install -y --no-install-recommends locales && \
locale-gen $LANG && \
apt-get full-upgrade -y && \
apt-get install -y --no-install-recommends shfmt && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

ADD entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 17d4d9b

Please sign in to comment.