Azure / Azure/acr

"Squash" with az acr tasks ?

Open
#503 1 comment 0 reactions 1 assignee Assigned to @toddysm View on GitHub
feature-acr-tasks feature-request triaged
Dominant language
No language data
Stars
177
Forks
137
PR merge metrics
No merged PRs in 30d

Description

Hi,

At the company I work for we have Windows as platform and as such we are also using Windows-containers for development.
We build our containers using ACR tasks and quick-tasks. During the build of the containers we download, install and remove the installation-files in one large RUN-command. This prevents the installation-files to become part of the image.

We also build a SqlServer-container which is build up with a database-backup of Production (2Gb). Previously i'd used a script to: "instantiate a Sql-container with a volume-map to the folder with the database-backup" and "restore the database in the container". Afterwards i would commit the container and push it to our ACR. This would prevent the backup-file to become part of the image.

Recently i stopped using this script and created a ACR-task to create a SQL-Server image with the backup restored. Because i have to copy the backup-file during the docker-build, the backup file is also part of the image.

Is it possible to use the "--squash" feature in ACR-tasks? If not..... pretty please...?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.