-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: kpango <[email protected]>
- Loading branch information
Showing
32 changed files
with
167 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,8 @@ | |
|
||
ARG UPX_OPTIONS=-9 | ||
# skipcq: DOK-DL3026 | ||
FROM docker:rc-dind AS docker | ||
# skipcq: DOK-DL3026 | ||
FROM ghcr.io/vdaas/vald/vald-buildbase:nightly | ||
ARG MAINTAINER="vdaas.org vald team <[email protected]>" | ||
LABEL maintainer="${MAINTAINER}" | ||
|
@@ -39,8 +41,8 @@ ENV ORG=vdaas | |
ENV PKG=ci/base | ||
ENV REPO=vald | ||
ENV RUST_HOME=/usr/loacl/lib/rust | ||
ENV RUSTUP_HOME=${RUST_HOME}/rustup | ||
ENV CARGO_HOME=${RUST_HOME}/cargo | ||
ENV RUSTUP_HOME=${RUST_HOME}/rustup | ||
ENV PATH=${CARGO_HOME}/bin:${GOPATH}/bin:${GOROOT}/bin:${RUSTUP_HOME}/bin:/usr/local/bin:${PATH} | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
@@ -88,6 +90,15 @@ COPY Makefile . | |
COPY .git . | ||
WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} | ||
COPY . . | ||
COPY --from=docker /usr/local/bin/dind /usr/bin/dind | ||
COPY --from=docker /usr/local/bin/docker /usr/bin/docker | ||
COPY --from=docker /usr/local/bin/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh | ||
COPY --from=docker /usr/local/bin/docker-init /usr/bin/docker-init | ||
COPY --from=docker /usr/local/bin/docker-proxy /usr/bin/docker-proxy | ||
COPY --from=docker /usr/local/bin/dockerd /usr/bin/dockerd | ||
COPY --from=docker /usr/local/bin/dockerd-entrypoint.sh /usr/bin/dockerd-entrypoint.sh | ||
COPY --from=docker /usr/local/bin/modprobe /usr/bin/modprobe | ||
COPY --from=docker /usr/local/bin/runc /usr/bin/runc | ||
|
||
WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} | ||
#skipcq: DOK-W1001, DOK-SC2086 | ||
|
@@ -121,4 +132,4 @@ RUN --mount=type=cache,target="${GOPATH}/pkg",id="go-build-${TARGETARCH}" \ | |
&& make telepresence/install \ | ||
&& make ngt/install \ | ||
&& make faiss/install \ | ||
&& rm -rf ${GOPATH}/src/github.com/${ORG}/${REPO}/* | ||
&& rm -rf ${GOPATH}/src/github.com/${ORG}/${REPO}/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.