Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Fixing Dockerfile #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ RUN git clone https://github.com/uber/buck-http-cache.git

WORKDIR buck-http-cache

RUN ./run_buck_cache_client.sh standalone
RUN ./gradlew distJar

ENTRYPOINT ./run_buck_cache_client.sh standalone
2 changes: 0 additions & 2 deletions run_buck_cache_client.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env bash

./gradlew distJar

$JAVA_HOME/bin/java -Xmx16g -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:MaxDirectMemorySize=6g -Dlog.home=/var/log/buck-cache-client/logs -jar cache/build/libs/cache-1.0.0-standalone.jar server cache/src/dist/config/$1.yml