Skip to content

Commit

Permalink
Cleanup downloaded script
Browse files Browse the repository at this point in the history
Signed-off-by: Tasos Katsoulas <[email protected]>
  • Loading branch information
tkatsoulas committed Jan 17, 2024
1 parent 2383ba8 commit 6b46551
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions package-builders/Dockerfile.debian10.v1
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

RUN curl https://sentry.io/get-cli/ > /tmp/get-sentry.sh && sh /tmp/get-sentry.sh
RUN rm /tmp/get-sentry.sh

COPY package-builders/entrypoint.sh /entrypoint.sh
COPY package-builders/debian-build.sh /build.sh
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.debian11.v1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

RUN curl https://sentry.io/get-cli/ > /tmp/get-sentry.sh && sh /tmp/get-sentry.sh
RUN rm /tmp/get-sentry.sh

COPY package-builders/entrypoint.sh /entrypoint.sh
COPY package-builders/debian-build.sh /build.sh
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.debian12.v1
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

RUN curl https://sentry.io/get-cli/ > /tmp/get-sentry.sh && sh /tmp/get-sentry.sh
RUN rm /tmp/get-sentry.sh

COPY package-builders/entrypoint.sh /entrypoint.sh
COPY package-builders/debian-build.sh /build.sh
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.ubuntu20.04.v1
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ RUN if dpkg-architecture --is 'armhf'; then \
fi

RUN wget -O /tmp/get-sentry.sh https://sentry.io/get-cli/ && sh /tmp/get-sentry.sh

Check notice on line 81 in package-builders/Dockerfile.ubuntu20.04.v1

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] package-builders/Dockerfile.ubuntu20.04.v1#L81 <DL3047>(https://github.com/hadolint/hadolint/wiki/DL3047)

Avoid use of wget without progress bar. Use `wget --progress=dot:giga <url>`. Or consider using `-q` or `-nv` (shorthands for `--quiet` or `--no-verbose`).
Raw output
message:"Avoid use of wget without progress bar. Use `wget --progress=dot:giga <url>`. Or consider using `-q` or `-nv` (shorthands for `--quiet` or `--no-verbose`)." location:{path:"package-builders/Dockerfile.ubuntu20.04.v1" range:{start:{line:81 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3047" url:"https://github.com/hadolint/hadolint/wiki/DL3047"}
RUN rm /tmp/get-sentry.sh

COPY package-builders/entrypoint.sh /entrypoint.sh
COPY package-builders/debian-build.sh /build.sh
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.ubuntu22.04.v1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

RUN curl https://sentry.io/get-cli/ > /tmp/get-sentry.sh && sh /tmp/get-sentry.sh
RUN rm /tmp/get-sentry.sh

COPY package-builders/entrypoint.sh /entrypoint.sh
COPY package-builders/debian-build.sh /build.sh
Expand Down
1 change: 1 addition & 0 deletions package-builders/Dockerfile.ubuntu23.10.v1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

RUN curl https://sentry.io/get-cli/ > /tmp/get-sentry.sh && sh /tmp/get-sentry.sh
RUN rm /tmp/get-sentry.sh

COPY package-builders/entrypoint.sh /entrypoint.sh
COPY package-builders/debian-build.sh /build.sh
Expand Down

0 comments on commit 6b46551

Please sign in to comment.