Comments (8)
Hi @nghiant2710 ,
Even if Debian based images are outliers, I think there would be a need for date tagged images that one can consistently use at different levels, and through different languages.
from base-images.
@curcuz @craig-mulligan, can you check?
from base-images.
Hey @cskiraly,
You're correct, our base images follows the <device>-<distro>-<language>
naming scheme, Debian base images are special since they are created before we defined that scheme so debian
part is omitted.
About the tag for each base images, you should check the available tags for each images in the docker hub repository. You can find the links in our docs here https://docs.resin.io/runtime/resin-base-images/
from base-images.
@cskiraly let me explain about how we build the base images.
The Resin base images are automatically rebuilt every week to make sure all images are up-to-date but there is a problem here, rebuilding base images can potentially break user's builds. To solve that problem, we create the date tagged images, which will never be rebuilt, after every successful build (we don't schedule the date, it's automatically handled by our builders), so users can base their app on that image and it will be stable.
If you want to find node image which uses a specify base layer, you should look for the nearest date in tag list on dockerhub. For example: if you want node image of raspberrypi2-debian:jessie-20161010
, it's resin/raspberrypi2-node:6-20161022
(this tag is too far from now so dockerhub doesn't display the tag but I found it in our builders logs)
Also we do have a PR to export all tags to a github repository so you can easily find all available tags because dockerhub doesn't display all tags.
from base-images.
@petrosagg and @nghiant2710 surely there must be some way to only tag all the builds for a particular build date in one step so that they all have exactly the same date tag?
from base-images.
Thanks @nghiant2710, I wasn't aware DockerHub limits the list of tags shown! Is there any simple way to list all available tags?
If possible, I would still vote for having tags date synched.
from base-images.
Since the resinOS model now changed to multi-container, let me revisit this issue reiterating my suggestion:
The problem:
When preparing a set of containers to be deployed on a device, one could try to optimize the size of the overall distribution by generating images with common base layers. However, it is still cumbersome to rely on image timestamps, since the timestamp is the date of generation, and the generation process runs for several days. Thus, is it hard to find different images from the hierarchy with matching base layers, which would reduces the overall multi-container distribution size.
My suggestion is to tag your images with 2 tags:
- one based on the generation date, like now;
- another one based on the date when the build cycle started.
This latter would be a tag consistent over the whole image hierarchy, largely simplifying automation of the creation of consistent multi-image sets.
@shaunmulligan as you can see I've already opened an issue on this
from base-images.
hey @cskiraly,
This issue is resolved in the balenalib
base images as the datestamp is now consistent. All base images generated from the same release will now have same datestamp.
from base-images.
Related Issues (20)
- Node LTS Image Timeline HOT 4
- Missing balenalib/raspberrypi4-64-dotnet:6.0-sdk HOT 3
- Check mount point before mounting in entry.sh entry script HOT 2
- xbuild removed HOT 2
- Can't install packages in balenalib/raspberrypi3-debian HOT 6
- Docker Hub Docs Request: documenting all supported versions in balenalib/beaglebone-black-python HOT 1
- BeagleBone Black + Ubuntu 14.04.3 LTS (Trusty Tahr)? HOT 4
- dotnet 7 SDK images missing
- balenalib/raspberrypi4-64-golang:1.20 images are missing on Docker hub HOT 1
- Cross build fails on Kaniko
- Dependency Dashboard HOT 1
- Dependency Dashboard
- Alpine 3.18 missing for all architectures HOT 1
- "Unable to start udev, container must be run in privileged mode to start udev!" error is thrown when a non-root user is defined in the Dockerfile HOT 1
- armv5tel (armel) build?
- Rpi4 bullseye image is missing raspbian source HOT 2
- error when building image with: /balena-base-images/python/i386/ubuntu/bionic/3.10.10/build/Dockerfile HOT 2
- On Docker balenalib/raspberry-pi-debian the raspi.list points to ui repo
- Support for Node v20 image HOT 4
- Any plans for .NET 8 support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from base-images.