Uh oh!
There was an error while loading. Please reload this page.
WIP: Provide Alpine-based images for imagebuilder and sdk - #8
Conversation
aparcar
commented
Jul 11, 2019
Are you sure do offer only alpine images? I'd prefer to have both... |
aparcar
commented
Jul 11, 2019
Oops sorry! Well we can make folders like |
oxr463
commented
Jul 11, 2019
No worries, we definitely want both. Let me try creating directories next. |
oxr463
commented
Jul 15, 2019
Is Circle CI not configured to run on PRs? |
aparcar
commented
Jul 16, 2019
No, will enable it but with disabled docker upload/secrets. |
| curl "https://downloads.openwrt.org/$IMAGEBUILDER_PATH/sha256sums" -sS -o sha256sums | ||
| curl "https://downloads.openwrt.org/$IMAGEBUILDER_PATH/sha256sums.asc" -sS -o sha256sums.asc | ||
| gpg --with-fingerprint --verify sha256sums.asc sha256sums | ||
| rsync -av "downloads.openwrt.org::downloads/$IMAGEBUILDER_PATH/$IMAGEBUILDER_FILE" . || contine # skip uploading if no IB is available |
| if [ "$TARGET" == "x86-64" ]; then | ||
| docker tag "$DOCKER_IMAGE:$TARGET-$BRANCH" "$DOCKER_IMAGE:latest" | ||
| docker push "$DOCKER_IMAGE:latest" | ||
| for DISTRIBUTION in "${DISTROS}" ; do |
There was a problem hiding this comment.
I'd suggest moving this down to the docker build step and then have another loop for docker push
| TARGETS="${TARGETS:-x86-64}" | ||
| BRANCHES="${BRANCHES:-master}" | ||
| DOCKER_IMAGE="${DOCKER_IMAGE:-openwrt-imagebuilder}" | ||
| DISTROS="alpine debian" |
There was a problem hiding this comment.
I'd be in favor to only build one of the two locally per default, and the full range only via CI
| docker build -t "$DOCKER_IMAGE:$TARGET-$BRANCH" -f imagebuilder/"Dockerfile.${DISTRIBUTION}" . | ||
| rm -rf ./imagebuilder |
There was a problem hiding this comment.
This removes the folder containing the ImageBuilder Dockerfiles, as the IB archive is also extracted to this folder. I guess we have to choose different folder names. Same happens with the SDK
aparcar
commented
Aug 1, 2019
Hey are you up to rework this PR? If not I can look into that |
oxr463
commented
Aug 1, 2019
I don't think I have time to right now. |
oxr463
commented
Nov 26, 2019
@aparcar any progress on this? Otherwise I can go ahead and work on rebasing my work on the latest master. This repository has come pretty far in the last few months! |
aparcar
commented
Jan 17, 2020
Please feel free to continue the work. I'm currently working on other projects |
aparcar
commented
May 20, 2020
@oxr463 Are you still interested in this? If not I'd close this PR |
oxr463
commented
May 21, 2020
I can always pick this up later. |
lu-zero
commented
Feb 22, 2024
What was missing to land it? |
I wasn't sure how you wanted them named, so I just overwrote the original Dockerfiles.
See: #5