mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
cleanup
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
parent
2535f66efc
commit
455b5ca9e0
|
@ -13,15 +13,21 @@ RUN apk --update add \
|
|||
|
||||
# install buck
|
||||
RUN git clone --depth 1 https://github.com/facebook/buck.git /buck \
|
||||
&& cd /buck \
|
||||
&& ( \
|
||||
cd /buck \
|
||||
&& ant \
|
||||
&& ln -snfv ${PWD}/bin/buck /usr/bin/buck
|
||||
|
||||
RUN git clone --depth 1 --recurse-submodules https://gerrit.googlesource.com/gitiles /gitiles \
|
||||
&& cd /gitiles \
|
||||
&& ln -snfv ${PWD}/bin/buck /usr/bin/buck \
|
||||
) \
|
||||
&& git clone --depth 1 --recurse-submodules https://gerrit.googlesource.com/gitiles /gitiles \
|
||||
&& ( \
|
||||
cd /gitiles \
|
||||
&& touch .nobuckcheck \
|
||||
&& 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
|
||||
|
||||
|
|
|
@ -9,4 +9,4 @@ if [ "x$1" != "x" ]; then
|
|||
fi
|
||||
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…
Reference in New Issue
Block a user