-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Build tics docker image * Remove it option for docker build
- Loading branch information
1 parent
d9c4906
commit 6250291
Showing
3 changed files
with
29 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM ubuntu:17.10 | ||
|
||
RUN apt update && \ | ||
apt install -y tzdata | ||
|
||
COPY tics /tics | ||
|
||
WORKDIR /tics | ||
|
||
ENV LD_LIBRARY_PATH /tics | ||
|
||
ENTRYPOINT ["./theflash", "server"] |
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 |
---|---|---|
@@ -1,11 +1,14 @@ | ||
build: | ||
docker run --rm --workdir /server -v $(realpath ../..):/server -it hub.pingcap.net/tiflash/tiflash-builder | ||
docker run --rm --workdir /server -v $(realpath ../..):/server hub.pingcap.net/tiflash/tics-builder | ||
|
||
pull: | ||
docker pull hub.pingcap.net/tiflash/tiflash-builder | ||
docker pull hub.pingcap.net/tiflash/tics-builder | ||
|
||
image: | ||
docker build -t hub.pingcap.net/tiflash/tiflash-builder | ||
docker build -t hub.pingcap.net/tiflash/tics-builder . | ||
|
||
image_push: | ||
docker push hub.pingcap.net/tiflash/tiflash-builder | ||
docker push hub.pingcap.net/tiflash/tics-builder | ||
|
||
tics_image: | ||
docker build -f Dockerfile-tics -t hub.pingcap.net/tiflash/tics . |
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