Skip to content

Commit adfecf4

Browse files
committed
[toolchain] Add Google Cloud tools to cloud import toolchain
Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
1 parent a8e61ad commit adfecf4

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

toolchain/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,15 +283,23 @@ FROM baseline AS cloud
283283

284284
RUN dnf install -y \
285285
python3-boto3 \
286+
python3-google-cloud-storage \
287+
python3-pip \
288+
python3-typing-extensions \
286289
&& dnf clean all -y
287290

291+
RUN pip install --prefix /usr/local --root-user-action ignore \
292+
google-cloud-compute \
293+
&& pip cache purge
294+
288295
FROM cloud AS check-cloud
289296

290297
ADD https://github.com/ipxe/ipxe.git /ipxe
291298

292299
WORKDIR /ipxe/src
293300

294-
CMD ../contrib/cloud/aws-import --help
301+
CMD ../contrib/cloud/aws-import --help && \
302+
../contrib/cloud/gce-import --help
295303

296304
#
297305
# Specify the default target

0 commit comments

Comments
 (0)