-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove base docker image #995
Conversation
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
[CHATOPS:HELP] ChatOps commands.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
hadolint
dockers/meta/redis/Dockerfile|34 col 1| Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
dockers/meta/redis/Dockerfile|40 col 1| Double quote to prevent globbing and word splitting.
dockers/tools/cli/loadtest/Dockerfile|37 col 1| Double quote to prevent globbing and word splitting.
ENV ORG vdaas | ||
ENV REPO vald | ||
ENV PKG agent/core/ngt | ||
ENV PKG_INTERNAL agent/internal | ||
ENV APP_NAME ngt | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENV ORG vdaas | ||
ENV REPO vald | ||
ENV PKG agent/sidecar | ||
ENV PKG_INTERNAL agent/internal | ||
ENV APP_NAME sidecar | ||
|
||
COPY --from=golang /usr/local/go $GOROOT | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p $GOPATH/src |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ARG YQ_VERSION=4.3.2 | ||
ARG YQ_VERSION=4.5.0 | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENV ORG vdaas | ||
ENV REPO vald | ||
ENV PKG discoverer/k8s | ||
ENV APP_NAME discoverer | ||
|
||
COPY --from=golang /usr/local/go $GOROOT | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p $GOPATH/src |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENV ORG vdaas | ||
ENV REPO vald | ||
ENV PKG manager/replication/controller | ||
ENV APP_NAME controller | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p $GOPATH/src |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENV ORG vdaas | ||
ENV REPO vald | ||
ENV PKG meta/cassandra | ||
ENV APP_NAME meta | ||
|
||
COPY --from=golang /usr/local/go $GOROOT | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p $GOPATH/src |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, maybe go.mod
and go.sum
are missing in dockers/ci/base/Dockerfile
https://github.com/vdaas/vald/pull/995/checks?check_run_id=1861034923
Co-authored-by: Rintaro Okamura <rintaro.okamura@gmail.com>
ENV ORG vdaas | ||
ENV REPO vald | ||
ENV PKG meta/redis | ||
ENV APP_NAME meta | ||
|
||
COPY --from=golang /usr/local/go $GOROOT | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p $GOPATH/src |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libhdf5-dev \ | ||
&& ldconfig \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p $GOPATH/src |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
…om/vdaas/vald into ci/docker/remove_base_docker_image
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
Thanks, great job 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description:
I deleted the base docker image and dependencies.
Related Issue:
How Has This Been Tested?:
Environment:
Types of changes:
Changes to Core Features:
Checklist: