Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
isindir committed Apr 1, 2024
1 parent 73d923c commit 5f966fd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ FROM ubuntu:noble-20240225

# Install build tools
# --no-install-recommends
RUN apt-get -y update \
&& apt-get -y upgrade \
&& apt-get -y install gnupg2 ca-certificates \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN apt-get -y update

Check notice on line 64 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] Dockerfile#L64 <DL3009>(https://github.com/hadolint/hadolint/wiki/DL3009)

Delete the apt-get lists after installing something
Raw output
message:"Delete the apt-get lists after installing something" location:{path:"Dockerfile" range:{start:{line:64 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3009" url:"https://github.com/hadolint/hadolint/wiki/DL3009"}
RUN apt-get -y upgrade

Check notice on line 65 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] Dockerfile#L65 <DL3059>(https://github.com/hadolint/hadolint/wiki/DL3059)

Multiple consecutive `RUN` instructions. Consider consolidation.
Raw output
message:"Multiple consecutive `RUN` instructions. Consider consolidation." location:{path:"Dockerfile" range:{start:{line:65 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3059" url:"https://github.com/hadolint/hadolint/wiki/DL3059"}
RUN apt-get -y install gnupg2

Check warning on line 66 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] Dockerfile#L66 <DL3008>(https://github.com/hadolint/hadolint/wiki/DL3008)

Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Raw output
message:"Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`" location:{path:"Dockerfile" range:{start:{line:66 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3008" url:"https://github.com/hadolint/hadolint/wiki/DL3008"}

Check notice on line 66 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] Dockerfile#L66 <DL3015>(https://github.com/hadolint/hadolint/wiki/DL3015)

Avoid additional packages by specifying `--no-install-recommends`
Raw output
message:"Avoid additional packages by specifying `--no-install-recommends`" location:{path:"Dockerfile" range:{start:{line:66 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3015" url:"https://github.com/hadolint/hadolint/wiki/DL3015"}

Check notice on line 66 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] Dockerfile#L66 <DL3059>(https://github.com/hadolint/hadolint/wiki/DL3059)

Multiple consecutive `RUN` instructions. Consider consolidation.
Raw output
message:"Multiple consecutive `RUN` instructions. Consider consolidation." location:{path:"Dockerfile" range:{start:{line:66 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3059" url:"https://github.com/hadolint/hadolint/wiki/DL3059"}
RUN apt-get -y install ca-certificates

Check warning on line 67 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] Dockerfile#L67 <DL3008>(https://github.com/hadolint/hadolint/wiki/DL3008)

Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
Raw output
message:"Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`" location:{path:"Dockerfile" range:{start:{line:67 column:1}}} severity:WARNING source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3008" url:"https://github.com/hadolint/hadolint/wiki/DL3008"}

Check notice on line 67 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] Dockerfile#L67 <DL3059>(https://github.com/hadolint/hadolint/wiki/DL3059)

Multiple consecutive `RUN` instructions. Consider consolidation.
Raw output
message:"Multiple consecutive `RUN` instructions. Consider consolidation." location:{path:"Dockerfile" range:{start:{line:67 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3059" url:"https://github.com/hadolint/hadolint/wiki/DL3059"}

Check notice on line 67 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] Dockerfile#L67 <DL3015>(https://github.com/hadolint/hadolint/wiki/DL3015)

Avoid additional packages by specifying `--no-install-recommends`
Raw output
message:"Avoid additional packages by specifying `--no-install-recommends`" location:{path:"Dockerfile" range:{start:{line:67 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3015" url:"https://github.com/hadolint/hadolint/wiki/DL3015"}
RUN apt-get clean

Check notice on line 68 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] Dockerfile#L68 <DL3059>(https://github.com/hadolint/hadolint/wiki/DL3059)

Multiple consecutive `RUN` instructions. Consider consolidation.
Raw output
message:"Multiple consecutive `RUN` instructions. Consider consolidation." location:{path:"Dockerfile" range:{start:{line:68 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3059" url:"https://github.com/hadolint/hadolint/wiki/DL3059"}
RUN rm -rf /var/lib/apt/lists/*

Check notice on line 69 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

[hadolint] Dockerfile#L69 <DL3059>(https://github.com/hadolint/hadolint/wiki/DL3059)

Multiple consecutive `RUN` instructions. Consider consolidation.
Raw output
message:"Multiple consecutive `RUN` instructions. Consider consolidation." location:{path:"Dockerfile" range:{start:{line:69 column:1}}} severity:INFO source:{name:"hadolint" url:"https://github.com/hadolint/hadolint"} code:{value:"DL3059" url:"https://github.com/hadolint/hadolint/wiki/DL3059"}

WORKDIR /usr/local/bin
COPY --from=asdf-builder /workspace/manager .
Expand Down

0 comments on commit 5f966fd

Please sign in to comment.