Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Mariner Arm64 docker image distribution. #2891

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docker/DockerfileMarinerArm64
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Create container based on Ubuntu-22.04 Jammy Jellyfish image
dphulkar-msft marked this conversation as resolved.
Show resolved Hide resolved
FROM --platform=linux/arm64 mcr.microsoft.com/cbl-mariner/base/core:2.0

# Install dependencies
RUN tdnf update -y
RUN tdnf install -y ca-certificates

# Copy azcopy binary to executable path
COPY ./azcopy /usr/local/bin/

# Make azcopy executable
RUN chmod +x /usr/local/bin/azcopy

WORKDIR /azcopy
CMD [ "azcopy" ]
3 changes: 3 additions & 0 deletions release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1927,6 +1927,9 @@ stages:
./dockerinstall.sh
./buildcontainer.sh DockerfileArm64 ubuntu-arm64
./publishcontainer.sh $(AZCOPY_DOCKER_REG_USER) $(AZCOPY_DOCKER_REG_PWD) ubuntu-arm64

dphulkar-msft marked this conversation as resolved.
Show resolved Hide resolved
./buildcontainer.sh DockerfileMarinerArm64 mariner-arm64
./publishcontainer.sh $(AZCOPY_DOCKER_REG_USER) $(AZCOPY_DOCKER_REG_PWD) mariner-arm64
displayName: "Create docker image for arm64 and push to the containers registry"
workingDirectory: $(work_dir)/docker

Expand Down
Loading