added HINTS comment to Dockerfile.extend example

This commit is contained in:
accetto
2023-04-16 12:18:59 +02:00
parent 1ee0df9e7f
commit 7e7f4e90b0

View File

@@ -2,6 +2,17 @@
### This is an example of extending the images.
### HINTS
### Sometimes you can get building errors related to cache handling.
### One of the following usually helps:
### (1) Use the '--no-cache' option
### > docker build ... --no-cache
### (2) Purge the builder cache before and/or between builds
### > docker builder prune
### (3) Re-open the terminal and/or Visual Studio Code
### (4) Remove the line containing 'rm -rf /var/lib/apt/lists/*'
### from your extending Dockerfile (like this one)
### choose a base image and tag
ARG BASEIMAGE="accetto/debian-vnc-xfce-g3"
# ARG BASEIMAGE="accetto/debian-vnc-xfce-chromium-g3"