Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Problems with Image caching
It seems that app platform has some problems with image caching (?) when building from Dockerfile.
My last deployment was building with two separate stages
FROM node:14-alpine AS builder # ... FROM my-app # ...
The problem is that as soon as I removed the first stage since I don’t need it anymore, the build stopped working and DO seems to be trying to fetch an image called
builder from docker hub.
I confirmed this is the problem because now I’m stuck with a Dockerfile that needs an empty
FROM node:14-alpine AS builder just to make it work.
Please add an option to clear the cache, otherwise it seems it’s not possible to even change the image I was using as base.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×