"Squash" with az acr tasks ?
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...?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.