Skip to content

Commit bbff877

Browse files
committed
CI: Pass args through docker-compose
1 parent d871cd2 commit bbff877

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
.cache
44
tmp/
55
site
6+
.env
7+
dev/.env
68

79
# intellij files
810
.idea

dev/docker-compose-integration.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
services:
1919
spark-iceberg:
2020
image: pyiceberg-spark:latest
21-
build: spark/
21+
build:
22+
context: spark/
23+
args:
24+
MAVEN_MIRROR: ${MAVEN_MIRROR:-https://repo.maven.apache.org/maven2}
2225
container_name: pyiceberg-spark
2326
networks:
2427
iceberg_net:
@@ -93,7 +96,10 @@ services:
9396
"
9497
hive:
9598
image: pyiceberg-hive:latest
96-
build: hive/
99+
build:
100+
context: hive/
101+
args:
102+
MAVEN_MIRROR: ${MAVEN_MIRROR:-https://repo1.maven.org/maven2}
97103
container_name: pyiceberg-hive
98104
hostname: hive
99105
networks:

0 commit comments

Comments
 (0)