forked from vitessio/vitess
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1,093 changed files
with
256,545 additions
and
43,932 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
ARG bootstrap_version=3 | ||
ARG image="vitess/bootstrap:${bootstrap_version}-mysql57" | ||
|
||
FROM "${image}" | ||
|
||
USER root | ||
|
||
# Re-copy sources from working tree | ||
RUN rm -rf /vt/src/vitess.io/vitess/* | ||
COPY . /vt/src/vitess.io/vitess | ||
|
||
# Set the working directory | ||
WORKDIR /vt/src/vitess.io/vitess | ||
|
||
# Fix permissions | ||
RUN chown -R vitess:vitess /vt | ||
|
||
USER vitess | ||
|
||
# Set environment variables | ||
ENV VTROOT /vt/src/vitess.io/vitess | ||
# Set the vtdataroot such that it uses the volume mount | ||
ENV VTDATAROOT /vt/vtdataroot | ||
|
||
# create the vtdataroot directory | ||
RUN mkdir -p $VTDATAROOT | ||
|
||
# install goimports | ||
RUN go install golang.org/x/tools/cmd/goimports@latest | ||
|
||
# make tools | ||
RUN make tools | ||
|
||
# sleep for 50 minutes | ||
CMD sleep 3000 |
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 was deleted.
Oops, something went wrong.
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.