Skip to content

Instantly share code, notes, and snippets.

@radikaled
Last active May 10, 2022 05:53
Show Gist options
  • Save radikaled/0514d43e341cdc1a6c4c8c3f7528d540 to your computer and use it in GitHub Desktop.
Save radikaled/0514d43e341cdc1a6c4c8c3f7528d540 to your computer and use it in GitHub Desktop.
Simple azcopy container build
FROM registry.redhat.io/openshift4/ose-cli AS builder
WORKDIR /tmp
RUN wget -O azcopy_v10.tar.gz "https://aka.ms/downloadazcopy-v10-linux" && tar -xf azcopy_v10.tar.gz --strip-components=1
FROM registry.redhat.io/openshift4/ose-cli
COPY --from=builder --chown=root:root --chmod=755 /tmp/azcopy /usr/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment