GPTfree api
commited on
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -37,10 +37,10 @@ RUN git clone https://github.com/martykan/webTube.git /app/webTube && \
|
|
37 |
sed -i 's|distributionSha256Sum=.*|distributionSha256Sum=7ba68c54029790ab444b39d7e293d3236b2632631fb5f2e012bb28b4ff669e4b|' gradle/wrapper/gradle-wrapper.properties && \
|
38 |
# local.propertiesを作成
|
39 |
echo "sdk.dir=/sdk" > /app/webTube/local.properties && \
|
40 |
-
#
|
41 |
-
|
42 |
-
#
|
43 |
-
|
44 |
./gradlew build
|
45 |
|
46 |
# 実行するコマンド
|
|
|
37 |
sed -i 's|distributionSha256Sum=.*|distributionSha256Sum=7ba68c54029790ab444b39d7e293d3236b2632631fb5f2e012bb28b4ff669e4b|' gradle/wrapper/gradle-wrapper.properties && \
|
38 |
# local.propertiesを作成
|
39 |
echo "sdk.dir=/sdk" > /app/webTube/local.properties && \
|
40 |
+
# build.gradleの修正 (plugins ブロックを先頭に移動)
|
41 |
+
sed -i '1i plugins { id "maven" }' /app/webTube/build.gradle && \
|
42 |
+
# repositories ブロックを適切な位置に追加
|
43 |
+
sed -i '/^plugins {/a repositories { mavenCentral() }' /app/webTube/build.gradle && \
|
44 |
./gradlew build
|
45 |
|
46 |
# 実行するコマンド
|