Comments (19)
I'll update the README.md
./docker-common.sh # to have the required gpg and usign keys
export BRANCH="19.07-SNAPSHOT"
export TARGETS="target-subtarget" # this is optional, defaults to x86-64
sudo ./docker-imagebuilder.sh
from docker.
I'm thinking of replacing the docker-* scripts with multi stage builds in the Dockerfile, will see...
from docker.
So far there are no public 19.07 binaries yet, if they appear I'd add them to the CI.
from docker.
But the 19.07 snapshot packages are already being built: https://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/. And I have been using them for a while.
from docker.
Please try these new tags:
https://cloud.docker.com/u/openwrtorg/repository/docker/openwrtorg/rootfs/tags
from docker.
That link redirects me to https://hub.docker.com
from docker.
Oh, those are rootfs images. I was looking for "imagebuilder" for 19.07-SNAPSHOT...
from docker.
Is there a plan to make 19.07 imagebuilder images?
from docker.
Is there a plan to make 19.07 imagebuilder images?
Yes! Sorry right now I'm somewhat troubled with runners aka machines that build snapshot images on a daily basis. I'll try to figure it out asap and give you an update, sorry for the delay!
from docker.
Thx, looking forward to a faster and more convenient way to whip up a firmware image!
from docker.
The 19.07-SNAPSHOT script now runs weekly, please try if it works for you!
from docker.
Thank you! This is great and simplifies/speeds up the process a lot!
I have built my images, but have not deployed them yet. One issue that I hit so far is no root access. One of my scripts is using curl, which is not present and I could not install it because there is no sudo nor there is a published root password that I could find (I did try openwrt though).
I have updated my script to use wget instead, but I do see some uses for root access and having sudo would come really handy. Would you consider adding it?
from docker.
Done via #25 please try it locally.
from docker.
Is it as simple as running docker-imagebuilder.sh ?
from docker.
Ok, this is not working very well for me. First, signify was missing so I installed it (can it be added to the common script?).
Then, signify (signify_1.14-3_all.deb) did not like -V. I am using a fully up to date Ubuntu 18.04.3 LTS
+ '[' -f sha256sums.sig ']'
+ hash signify-openbsd
+ SIGNIFY_BIN=signify
+ VERIFIED=
+ for KEY in ./usign/*
+ echo 'Trying ./usign/b5043e70f9a75cde...'
Trying ./usign/b5043e70f9a75cde...
+ signify -V -q -p ./usign/b5043e70f9a75cde -x sha256sums.sig -m sha256sums
Signify: Unknown parameter '-V'
+ for KEY in ./usign/*
+ echo 'Trying ./usign/f94b9dd6febac963...'
Trying ./usign/f94b9dd6febac963...
+ signify -V -q -p ./usign/f94b9dd6febac963 -x sha256sums.sig -m sha256sums
Signify: Unknown parameter '-V'
+ '[' -z '' ']'
+ echo 'Could not verify usign signature'
Could not verify usign signature
+ exit 1
+ exit 1
from docker.
Ah, it should have been signify-openbsd (I removed signify first). Another small comment, the docker-imagebuilder.sh does not warn if it is run as a non-root user.
from docker.
Your fix is working: I tested by running sudo apt update and other commands. Thank you.
Three minor hick-ups:
- signify-openbsd needs to be installed first on Ubuntu
- docker-imagebuilder.sh does not warn about being run as a non-root user
- The resulting docker image is not fully patched (see the last line in the output below). Maybe the Docker file could run apt dist-upgrade to always generate up-to date images?
sudo apt update
Get:1 http://security-cdn.debian.org/debian-security buster/updates InRelease [39.1 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian buster InRelease [118 kB]
Get:4 http://security-cdn.debian.org/debian-security buster/updates/main amd64 Packages [62.9 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian buster/main amd64 Packages [7897 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian buster-updates/main amd64 Packages [884 B]
Fetched 8167 kB in 7s (1089 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
from docker.
Hi, thanks for testing, I'd be happy if you could create some PRs for that.
from docker.
I never replaced it with the multi stage builds, works somewhat stable lately. @fantom-x if you want more docs on running it outside the CI please create a PR, I'll close this for now.
from docker.
Related Issues (20)
- kmodloader: no module folders for kernel version 6.2.2-arch1-1 found HOT 1
- kmodloader: no module folders for kernel version 6.2.2-arch1-1 found HOT 2
- mikrotik container HOT 4
- openwrt/imagebuilder:x86-64-v22.03.4 is building master.... HOT 7
- Cross architecture rootfs images are declared as amd64 HOT 4
- Add sudo to the container HOT 2
- Add 23.05 to cron?
- Building `libnl` with the sdk fails HOT 2
- A new kernel breaks image builder images HOT 12
- Proper documentation request HOT 2
- feature request: create and auto update Dev Container Templates repo
- Error: chdir to cwd ("/home/build/openwrt") HOT 1
- ath79-generic-openwrt-23.05 is configured for the mikrotic target instead HOT 3
- Release images for loongarch64
- Add latest version tag of a milestone
- Provide a guide for using the image HOT 5
- no network with net_admin Capability
- tag ramips-mt7621-22.03.2 is same as ramips-mt7620-22.03.2 HOT 1
- Dockerfile: add "feeds.conf" to "imagebuilder" too HOT 2
- Why do snapshot images stop receiving updates? HOT 2
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 docker.