GPTfree api commited on
Commit
3eccb8b
·
verified ·
1 Parent(s): 49180c6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -37,6 +37,10 @@ RUN git clone https://github.com/guardianproject/NetCipher.git /netcipher && \
37
  sed -i 's|distributionSha256Sum=.*|distributionSha256Sum=7ba68c54029790ab444b39d7e293d3236b2632631fb5f2e012bb28b4ff669e4b|' gradle/wrapper/gradle-wrapper.properties && \
38
  # local.propertiesを作成
39
  echo "sdk.dir=/sdk" > /netcipher/local.properties && \
 
 
 
 
40
  ./gradlew build && \
41
  mkdir -p /app/app/libs && \
42
  cp /netcipher/netcipher/build/libs/netcipher.jar /app/app/libs/
 
37
  sed -i 's|distributionSha256Sum=.*|distributionSha256Sum=7ba68c54029790ab444b39d7e293d3236b2632631fb5f2e012bb28b4ff669e4b|' gradle/wrapper/gradle-wrapper.properties && \
38
  # local.propertiesを作成
39
  echo "sdk.dir=/sdk" > /netcipher/local.properties && \
40
+ # Mavenプラグインの追加
41
+ echo "plugins { id 'maven' }" >> /netcipher/build.gradle && \
42
+ # Mavenリポジトリの追加
43
+ echo "repositories { mavenCentral() }" >> /netcipher/build.gradle && \
44
  ./gradlew build && \
45
  mkdir -p /app/app/libs && \
46
  cp /netcipher/netcipher/build/libs/netcipher.jar /app/app/libs/