5353 claimName: pvc-hive-drivers
5454 initContainers:
5555 - name: dest-dir
56- image: docker .stackable.tech/stackable /tools:1.0.0-stackable24.3.0
56+ image: oci .stackable.tech/sdp /tools:1.0.0-stackable24.3.0
5757 env:
5858 - name: DEST_DIR
5959 value: "/stackable/externals"
7171 mountPath: /stackable/externals
7272 containers:
7373 - name: hive-driver
74- image: docker .stackable.tech/stackable /tools:1.0.0-stackable24.3.0
74+ image: oci .stackable.tech/sdp /tools:1.0.0-stackable24.3.0
7575 env:
7676 - name: DEST_DIR
7777 value: "/stackable/externals"
@@ -109,7 +109,7 @@ spec:
109109 claimName: pvc-hive-drivers
110110 containers:
111111 - name: hive-driver
112- image: docker .stackable.tech/stackable /tools:1.0.0-stackable24.3.0
112+ image: oci .stackable.tech/sdp /tools:1.0.0-stackable24.3.0
113113 env:
114114 - name: DEST_DIR
115115 value: "/stackable/externals"
@@ -195,15 +195,15 @@ If you have access to a registry to store custom images, another approach is to
195195.Copy the driver
196196[source]
197197----
198- FROM docker .stackable.tech/stackable /hive:4.0.0-stackable0.0.0-dev
198+ FROM oci .stackable.tech/sdp /hive:4.0.0-stackable0.0.0-dev
199199
200200RUN curl --fail -L https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.0.31/mysql-connector-j-8.0.31.jar -o /stackable/mysql-connector-j-8.0.31.jar
201201----
202202
203203.Build and tag the image
204204[source]
205205----
206- docker build -f ./Dockerfile -t docker .stackable.tech/stackable /hive:4.0.0-stackable0.0.0-dev-mysql .
206+ docker build -f ./Dockerfile -t oci .stackable.tech/sdp /hive:4.0.0-stackable0.0.0-dev-mysql .
207207----
208208
209209.Reference the new path to the driver without the need for using a volume mounted from a PVC
@@ -216,7 +216,7 @@ metadata:
216216 name: hive
217217spec:
218218 image:
219- custom: docker .stackable.tech/stackable /hive:4.0.0-stackable0.0.0-dev-mysql # <1>
219+ custom: oci .stackable.tech/sdp /hive:4.0.0-stackable0.0.0-dev-mysql # <1>
220220 productVersion: 4.0.0
221221 clusterConfig:
222222 database:
0 commit comments