mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-04-26 05:35:41 +02:00
cleanup
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
parent
2535f66efc
commit
455b5ca9e0
gitiles
@ -13,15 +13,21 @@ RUN apk --update add \
|
|||||||
|
|
||||||
# install buck
|
# install buck
|
||||||
RUN git clone --depth 1 https://github.com/facebook/buck.git /buck \
|
RUN git clone --depth 1 https://github.com/facebook/buck.git /buck \
|
||||||
&& cd /buck \
|
&& ( \
|
||||||
|
cd /buck \
|
||||||
&& ant \
|
&& ant \
|
||||||
&& ln -snfv ${PWD}/bin/buck /usr/bin/buck
|
&& ln -snfv ${PWD}/bin/buck /usr/bin/buck \
|
||||||
|
) \
|
||||||
RUN git clone --depth 1 --recurse-submodules https://gerrit.googlesource.com/gitiles /gitiles \
|
&& git clone --depth 1 --recurse-submodules https://gerrit.googlesource.com/gitiles /gitiles \
|
||||||
&& cd /gitiles \
|
&& ( \
|
||||||
|
cd /gitiles \
|
||||||
&& touch .nobuckcheck \
|
&& touch .nobuckcheck \
|
||||||
&& git submodule update --init \
|
&& git submodule update --init \
|
||||||
&& buck build all
|
&& buck build all \
|
||||||
|
&& mv buck-out/gen/gitiles/gitiles.war /gitiles.war \
|
||||||
|
) \
|
||||||
|
&& rm -rf /gitiles \
|
||||||
|
&& rm -rf /buck
|
||||||
|
|
||||||
COPY ./start.sh /start.sh
|
COPY ./start.sh /start.sh
|
||||||
|
|
||||||
|
@ -9,4 +9,4 @@ if [ "x$1" != "x" ]; then
|
|||||||
fi
|
fi
|
||||||
PROPERTIES="$PROPERTIES -Dcom.google.gitiles.sourcePath=$ROOT"
|
PROPERTIES="$PROPERTIES -Dcom.google.gitiles.sourcePath=$ROOT"
|
||||||
|
|
||||||
exec java $PROPERTIES -jar "$ROOT/buck-out/gen/gitiles-dev/dev.jar"
|
exec java $PROPERTIES -jar "$ROOT/buck-out/gen/gitiles/gitiles.war"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user