Skip to content

Commit

Permalink
♻️ Remove unnecessary installation
Browse files Browse the repository at this point in the history
Signed-off-by: vankichi <[email protected]>
  • Loading branch information
vankichi committed Nov 11, 2024
1 parent 699a180 commit f55b80c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
9 changes: 2 additions & 7 deletions dockers/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,10 @@ RUN --mount=type=bind,target=.,rw \
&& apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends --fix-missing \
curl \
gnupg \
software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/test -y \
&& apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends --fix-missing \
build-essential \
ca-certificates \
curl \
gnupg \
tzdata \
locales \
git \
Expand Down
13 changes: 2 additions & 11 deletions hack/docker/gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,12 @@ RUN {{RunMounts .RunMounts}} \
&& apt-get clean \
&& apt-get update -y \
&& apt-get upgrade -y \
{{- if eq (ContainerName .ContainerType) "%s"}}
&& apt-get install -y --no-install-recommends --fix-missing \
curl \
gnupg \
software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/test -y \
&& apt-get update -y \
&& apt-get upgrade -y \
{{- end}}
&& apt-get install -y --no-install-recommends --fix-missing \
build-essential \
ca-certificates \
{{- if not (eq (ContainerName .ContainerType) "%s")}}
curl \
{{- if eq (ContainerName .ContainerType) "%s"}}
gnupg \
{{- end}}
tzdata \
locales \
Expand Down Expand Up @@ -143,7 +135,6 @@ ENTRYPOINT [{{Entrypoint .Entrypoints}}]
ENTRYPOINT ["{{.BinDir}}/{{.AppName}}"]
{{- end}}
{{- end}}`, DevContainer.String(), CIContainer.String(),
DevContainer.String(),
DevContainer.String(),
DevContainer.String(), CIContainer.String(),
DevContainer.String(), CIContainer.String())
Expand Down

0 comments on commit f55b80c

Please sign in to comment.