├── .dockerignore ├── .github └── workflows │ └── flowzone.yml ├── .gitignore ├── .versionbot └── CHANGELOG.yml ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── README.md ├── VERSION ├── config └── confd │ ├── conf.d │ ├── cloudfront-pk.pem.toml │ ├── docker-registry.yml.toml │ └── env.toml │ └── templates │ ├── cloudfront-pk.pem.tmpl │ ├── docker-registry.yml.tmpl │ └── env.tmpl ├── docker-bake.hcl ├── docker-compose.test.yml ├── docker-hc ├── entry.sh └── repo.yml /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | -------------------------------------------------------------------------------- /.github/workflows/flowzone.yml: -------------------------------------------------------------------------------- 1 | name: Flowzone 2 | on: 3 | pull_request: 4 | types: [opened, synchronize, closed] 5 | branches: [main, master] 6 | # allow external contributions to use secrets within trusted code 7 | pull_request_target: 8 | types: [opened, synchronize, closed] 9 | branches: [main, master] 10 | jobs: 11 | flowzone: 12 | name: Flowzone 13 | uses: product-os/flowzone/.github/workflows/flowzone.yml@master 14 | # prevent duplicate workflows and only allow one `pull_request` or `pull_request_target` for 15 | # internal or external contributions respectively 16 | if: | 17 | (github.event.pull_request.head.repo.full_name == github.repository && github.event_name == 'pull_request') || 18 | (github.event.pull_request.head.repo.full_name != github.repository && github.event_name == 'pull_request_target') 19 | secrets: inherit 20 | with: 21 | docker_images: balena/open-balena-registry 22 | docker_runs_on: > 23 | { 24 | "linux/amd64": ["self-hosted","X64"], 25 | "linux/arm64": ["self-hosted","ARM64"] 26 | } 27 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /package-lock.json 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | All notable changes to this project will be documented in this file 4 | automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! 5 | This project adheres to [Semantic Versioning](http://semver.org/). 6 | 7 | # v3.0.7 8 | ## (2025-05-30) 9 | 10 | * Update docker Docker tag to v28.2.2 [balena-renovate[bot]] 11 | 12 | # v3.0.6 13 | ## (2025-05-30) 14 | 15 | * Update docker Docker tag to v28.2.1 [balena-renovate[bot]] 16 | 17 | # v3.0.5 18 | ## (2025-05-22) 19 | 20 | 21 |
22 | Update balena/open-balena-base Docker tag to v18.0.33 [balena-renovate[bot]] 23 | 24 | > ## open-balena-base-18.0.33 25 | > ### (2025-05-21) 26 | > 27 | > * Update dependency npm to v11.4.1 [balena-renovate[bot]] 28 | > 29 | 30 |
31 | 32 | # v3.0.4 33 | ## (2025-05-21) 34 | 35 | 36 |
37 | Update balena/open-balena-base Docker tag to v18.0.32 [balena-renovate[bot]] 38 | 39 | > ## open-balena-base-18.0.32 40 | > ### (2025-05-21) 41 | > 42 | > * Update Node.js to v22.16.0 [balena-renovate[bot]] 43 | > 44 | 45 |
46 | 47 | # v3.0.3 48 | ## (2025-05-15) 49 | 50 | 51 |
52 | Update balena/open-balena-base Docker tag to v18.0.31 [balena-renovate[bot]] 53 | 54 | > ## open-balena-base-18.0.31 55 | > ### (2025-05-15) 56 | > 57 | > * Update dependency npm to v11.4.0 [balena-renovate[bot]] 58 | > 59 | 60 |
61 | 62 | # v3.0.2 63 | ## (2025-05-14) 64 | 65 | 66 |
67 | Update balena/open-balena-base Docker tag to v18.0.30 [balena-renovate[bot]] 68 | 69 | > ## open-balena-base-18.0.30 70 | > ### (2025-05-14) 71 | > 72 | > * Update Node.js to v22.15.1 [balena-renovate[bot]] 73 | > 74 | 75 |
76 | 77 | # v3.0.1 78 | ## (2025-05-01) 79 | 80 | * Fix v3 redis config [Pagan Gazzard] 81 | 82 | # v3.0.0 83 | ## (2025-05-01) 84 | 85 | * Update registry to 3.0.0 [Pagan Gazzard] 86 | 87 | # v2.42.0 88 | ## (2025-04-29) 89 | 90 | * Add the ability to specify s3 storage class [Pagan Gazzard] 91 | 92 | # v2.41.31 93 | ## (2025-04-23) 94 | 95 | 96 |
97 | Update balena/open-balena-base Docker tag to v18.0.29 [balena-renovate[bot]] 98 | 99 | > ## open-balena-base-18.0.29 100 | > ### (2025-04-23) 101 | > 102 | > * Update Node.js to v22.15.0 [balena-renovate[bot]] 103 | > 104 | 105 |
106 | 107 | # v2.41.30 108 | ## (2025-04-18) 109 | 110 | * Update docker Docker tag to v28.1.1 [balena-renovate[bot]] 111 | 112 | # v2.41.29 113 | ## (2025-04-17) 114 | 115 | * Update docker Docker tag to v28.1.0 [balena-renovate[bot]] 116 | 117 | # v2.41.28 118 | ## (2025-04-08) 119 | 120 | 121 |
122 | Update balena/open-balena-base Docker tag to v18.0.28 [balena-renovate[bot]] 123 | 124 | > ## open-balena-base-18.0.28 125 | > ### (2025-04-08) 126 | > 127 | > * Update dependency npm to v11.3.0 [balena-renovate[bot]] 128 | > 129 | 130 |
131 | 132 | # v2.41.27 133 | ## (2025-03-26) 134 | 135 | * Update docker Docker tag to v28.0.4 [balena-renovate[bot]] 136 | 137 | # v2.41.26 138 | ## (2025-03-25) 139 | 140 | * Update docker Docker tag to v28 [balena-renovate[bot]] 141 | 142 | # v2.41.25 143 | ## (2025-03-14) 144 | 145 | * patch: Allow configuration of S3 transfer acceleration [Anton Belodedenko] 146 | 147 | # v2.41.24 148 | ## (2025-03-05) 149 | 150 | 151 |
152 | Update balena/open-balena-base Docker tag to v18.0.27 [balena-renovate[bot]] 153 | 154 | > ## open-balena-base-18.0.27 155 | > ### (2025-03-05) 156 | > 157 | > * Update dependency npm to v11.2.0 [balena-renovate[bot]] 158 | > 159 | 160 |
161 | 162 | # v2.41.23 163 | ## (2025-02-11) 164 | 165 | 166 |
167 | Update balena/open-balena-base Docker tag to v18.0.26 [balena-renovate[bot]] 168 | 169 | > ## open-balena-base-18.0.26 170 | > ### (2025-02-11) 171 | > 172 | > * Update Node.js to v22.14.0 [balena-renovate[bot]] 173 | > 174 | 175 |
176 | 177 | # v2.41.22 178 | ## (2025-01-30) 179 | 180 | * Update docker Docker tag to v27.5.1 [balena-renovate[bot]] 181 | 182 | # v2.41.21 183 | ## (2025-01-29) 184 | 185 | 186 |
187 | Update balena/open-balena-base Docker tag to v18.0.25 [balena-renovate[bot]] 188 | 189 | > ## open-balena-base-18.0.25 190 | > ### (2025-01-29) 191 | > 192 | > * Update dependency npm to v11.1.0 [balena-renovate[bot]] 193 | > 194 | 195 |
196 | 197 | # v2.41.20 198 | ## (2025-01-21) 199 | 200 | 201 |
202 | Update balena/open-balena-base Docker tag to v18.0.24 [balena-renovate[bot]] 203 | 204 | > ## open-balena-base-18.0.24 205 | > ### (2025-01-21) 206 | > 207 | > * Update dependency node to v22.13.1 [Self-hosted Renovate Bot] 208 | > 209 | 210 |
211 | 212 | # v2.41.19 213 | ## (2025-01-14) 214 | 215 | * Update docker Docker tag to v27.5.0 [balena-renovate[bot]] 216 | 217 | # v2.41.18 218 | ## (2025-01-07) 219 | 220 | 221 |
222 | Update balena/open-balena-base Docker tag to v18.0.23 [balena-renovate[bot]] 223 | 224 | > ## open-balena-base-18.0.23 225 | > ### (2025-01-07) 226 | > 227 | > * Update dependency node to v22.13.0 [Self-hosted Renovate Bot] 228 | > 229 | > ## open-balena-base-18.0.22 230 | > ### (2025-01-06) 231 | > 232 | > * Update dependency npm to v11 [Self-hosted Renovate Bot] 233 | > 234 | 235 |
236 | 237 | # v2.41.17 238 | ## (2025-01-06) 239 | 240 | * Update docker Docker tag to v27.4.1 [balena-renovate[bot]] 241 | 242 | # v2.41.16 243 | ## (2024-12-05) 244 | 245 | 246 |
247 | Update balena/open-balena-base Docker tag to v18.0.21 [balena-renovate[bot]] 248 | 249 | > ## open-balena-base-18.0.21 250 | > ### (2024-12-04) 251 | > 252 | > * Update dependency npm to v10.9.2 [Self-hosted Renovate Bot] 253 | > 254 | 255 |
256 | 257 | # v2.41.15 258 | ## (2024-12-03) 259 | 260 | 261 |
262 | Update balena/open-balena-base Docker tag to v18.0.20 [balena-renovate[bot]] 263 | 264 | > ## open-balena-base-18.0.20 265 | > ### (2024-12-03) 266 | > 267 | > * Update dependency node to v22.12.0 [Self-hosted Renovate Bot] 268 | > 269 | 270 |
271 | 272 | # v2.41.14 273 | ## (2024-11-22) 274 | 275 | 276 |
277 | Update balena/open-balena-base Docker tag to v18.0.19 [balena-renovate[bot]] 278 | 279 | > ## open-balena-base-18.0.19 280 | > ### (2024-11-21) 281 | > 282 | > * Update dependency npm to v10.9.1 [Self-hosted Renovate Bot] 283 | > 284 | 285 |
286 | 287 | # v2.41.13 288 | ## (2024-11-18) 289 | 290 | 291 |
292 | Update balena/open-balena-base Docker tag to v18.0.18 [balena-renovate[bot]] 293 | 294 | > ## open-balena-base-18.0.18 295 | > ### (2024-11-18) 296 | > 297 | > * Update ghcr.io/balena-io-modules/confd-releases Docker tag to v0.0.6 [Self-hosted Renovate Bot] 298 | > 299 | 300 |
301 | 302 | # v2.41.12 303 | ## (2024-11-04) 304 | 305 | 306 |
307 | Update balena/open-balena-base Docker tag to v18.0.17 [balena-renovate[bot]] 308 | 309 | > ## open-balena-base-18.0.17 310 | > ### (2024-11-04) 311 | > 312 | > * Update dependency node to v22.11.0 [Self-hosted Renovate Bot] 313 | > 314 | 315 |
316 | 317 | # v2.41.11 318 | ## (2024-10-16) 319 | 320 | 321 |
322 | Update balena/open-balena-base Docker tag to v18.0.16 [Self-hosted Renovate Bot] 323 | 324 | > ## open-balena-base-18.0.16 325 | > ### (2024-10-16) 326 | > 327 | > * Update dependency node to v22.10.0 [Self-hosted Renovate Bot] 328 | > 329 | 330 |
331 | 332 | # v2.41.10 333 | ## (2024-10-03) 334 | 335 | * Update docker Docker tag to v27.3.1 [Self-hosted Renovate Bot] 336 | 337 | # v2.41.9 338 | ## (2024-10-03) 339 | 340 | 341 |
342 | Update balena/open-balena-base Docker tag to v18.0.15 [Self-hosted Renovate Bot] 343 | 344 | > ## open-balena-base-18.0.15 345 | > ### (2024-10-03) 346 | > 347 | > * Update dependency npm to v10.9.0 [Self-hosted Renovate Bot] 348 | > 349 | 350 |
351 | 352 | # v2.41.8 353 | ## (2024-09-17) 354 | 355 | * Update docker Docker tag to v27.2.1 [Self-hosted Renovate Bot] 356 | 357 | # v2.41.7 358 | ## (2024-09-17) 359 | 360 | 361 |
362 | Update balena/open-balena-base Docker tag to v18.0.14 [Self-hosted Renovate Bot] 363 | 364 | > ## open-balena-base-18.0.14 365 | > ### (2024-09-17) 366 | > 367 | > * Update dependency node to v22.9.0 [Self-hosted Renovate Bot] 368 | > 369 | 370 |
371 | 372 | # v2.41.6 373 | ## (2024-09-03) 374 | 375 | * Update docker Docker tag to v27.2.0 [Self-hosted Renovate Bot] 376 | 377 | # v2.41.5 378 | ## (2024-09-03) 379 | 380 | 381 |
382 | Update balena/open-balena-base Docker tag to v18.0.13 [Self-hosted Renovate Bot] 383 | 384 | > ## open-balena-base-18.0.13 385 | > ### (2024-09-03) 386 | > 387 | > * Update dependency node to v22.8.0 [Self-hosted Renovate Bot] 388 | > 389 | 390 |
391 | 392 | # v2.41.4 393 | ## (2024-08-28) 394 | 395 | 396 |
397 | Update balena/open-balena-base Docker tag to v18.0.12 [Self-hosted Renovate Bot] 398 | 399 | > ## open-balena-base-18.0.12 400 | > ### (2024-08-28) 401 | > 402 | > * Update dependency npm to v10.8.3 [Self-hosted Renovate Bot] 403 | > 404 | 405 |
406 | 407 | # v2.41.3 408 | ## (2024-08-22) 409 | 410 | * Update docker Docker tag to v27.1.2 [Self-hosted Renovate Bot] 411 | 412 | # v2.41.2 413 | ## (2024-08-22) 414 | 415 | 416 |
417 | Update balena/open-balena-base Docker tag to v18.0.11 [Self-hosted Renovate Bot] 418 | 419 | > ## open-balena-base-18.0.11 420 | > ### (2024-08-22) 421 | > 422 | > * Update dependency node to v22.7.0 [Self-hosted Renovate Bot] 423 | > 424 | 425 |
426 | 427 | # v2.41.1 428 | ## (2024-08-06) 429 | 430 | 431 |
432 | Update balena/open-balena-base Docker tag to v18.0.10 [Self-hosted Renovate Bot] 433 | 434 | > ## open-balena-base-18.0.10 435 | > ### (2024-08-06) 436 | > 437 | > * Update dependency node to v22.6.0 [Self-hosted Renovate Bot] 438 | > 439 | > ## open-balena-base-18.0.9 440 | > ### (2024-07-23) 441 | > 442 | > * Update ghcr.io/balena-io-modules/confd-releases Docker tag to v0.0.5 [Self-hosted Renovate Bot] 443 | > 444 | 445 |
446 | 447 | # v2.41.0 448 | ## (2024-08-01) 449 | 450 | * Remove musl dependency as the requirement was removed in 2.7.0 [Kyle Harding] 451 | * Switch to no-systemd variant of open-balena-base [Kyle Harding] 452 | * Remove unused redis service and config [Kyle Harding] 453 | 454 | # v2.40.1 455 | ## (2024-07-30) 456 | 457 | * Fix nested changelog for open-balena-base updates [Pagan Gazzard] 458 | 459 | # v2.40.0 460 | ## (2024-07-29) 461 | 462 | * Enable configuring more s3 backend options via env vars [Pagan Gazzard] 463 | 464 | # v2.39.65 465 | ## (2024-07-29) 466 | 467 | * Remove unused logentries configs [Pagan Gazzard] 468 | 469 | # v2.39.64 470 | ## (2024-07-23) 471 | 472 | * Update balena/open-balena-base Docker tag to v18.0.8 [Self-hosted Renovate Bot] 473 | 474 | # v2.39.63 475 | ## (2024-07-19) 476 | 477 | * Update balena/open-balena-base Docker tag to v18.0.7 [Self-hosted Renovate Bot] 478 | 479 | # v2.39.62 480 | ## (2024-07-10) 481 | 482 | * Update balena/open-balena-base Docker tag to v18.0.6 [Self-hosted Renovate Bot] 483 | 484 | # v2.39.61 485 | ## (2024-07-08) 486 | 487 | * Update balena/open-balena-base Docker tag to v18.0.5 [Self-hosted Renovate Bot] 488 | 489 | # v2.39.60 490 | ## (2024-07-02) 491 | 492 | * Update balena/open-balena-base Docker tag to v18.0.4 [Self-hosted Renovate Bot] 493 | 494 | # v2.39.59 495 | ## (2024-07-01) 496 | 497 | * Update balena/open-balena-base Docker tag to v18.0.3 [Self-hosted Renovate Bot] 498 | 499 | # v2.39.58 500 | ## (2024-06-11) 501 | 502 | * Update balena/open-balena-base Docker tag to v18.0.2 [Self-hosted Renovate Bot] 503 | 504 | # v2.39.57 505 | ## (2024-05-29) 506 | 507 | * Update balena/open-balena-base Docker tag to v18.0.1 [Self-hosted Renovate Bot] 508 | 509 | # v2.39.56 510 | ## (2024-05-28) 511 | 512 | * Update balena/open-balena-base Docker tag to v18 [Self-hosted Renovate Bot] 513 | 514 | # v2.39.55 515 | ## (2024-05-15) 516 | 517 | * Update balena/open-balena-base Docker tag to v17.0.20 [Self-hosted Renovate Bot] 518 | 519 | # v2.39.54 520 | ## (2024-05-09) 521 | 522 | * Update balena/open-balena-base Docker tag to v17.0.19 [Self-hosted Renovate Bot] 523 | 524 | # v2.39.53 525 | ## (2024-05-01) 526 | 527 | * Update balena/open-balena-base Docker tag to v17.0.18 [Self-hosted Renovate Bot] 528 | 529 | # v2.39.52 530 | ## (2024-05-01) 531 | 532 | * Update balena/open-balena-base Docker tag to v17.0.17 [Self-hosted Renovate Bot] 533 | 534 | # v2.39.51 535 | ## (2024-04-30) 536 | 537 | * Update balena/open-balena-base Docker tag to v17.0.16 [Self-hosted Renovate Bot] 538 | 539 | # v2.39.50 540 | ## (2024-04-25) 541 | 542 | * Update balena/open-balena-base Docker tag to v17.0.15 [Self-hosted Renovate Bot] 543 | 544 | # v2.39.49 545 | ## (2024-04-10) 546 | 547 | * Update balena/open-balena-base Docker tag to v17.0.14 [Self-hosted Renovate Bot] 548 | 549 | # v2.39.48 550 | ## (2024-04-10) 551 | 552 | * Update balena/open-balena-base Docker tag to v17.0.13 [Self-hosted Renovate Bot] 553 | 554 | # v2.39.47 555 | ## (2024-04-03) 556 | 557 | * Update balena/open-balena-base Docker tag to v17.0.12 [Self-hosted Renovate Bot] 558 | 559 | # v2.39.46 560 | ## (2024-04-03) 561 | 562 | * Update balena/open-balena-base Docker tag to v17.0.11 [Self-hosted Renovate Bot] 563 | 564 | # v2.39.45 565 | ## (2024-03-08) 566 | 567 | * Update balena/open-balena-base Docker tag to v17.0.10 [Self-hosted Renovate Bot] 568 | 569 | # v2.39.44 570 | ## (2024-03-06) 571 | 572 | * Update balena/open-balena-base Docker tag to v17.0.9 [Self-hosted Renovate Bot] 573 | 574 | # v2.39.43 575 | ## (2024-02-28) 576 | 577 | * Update balena/open-balena-base Docker tag to v17.0.8 [Self-hosted Renovate Bot] 578 | 579 | # v2.39.42 580 | ## (2024-02-27) 581 | 582 | * Update balena/open-balena-base Docker tag to v17.0.7 [Self-hosted Renovate Bot] 583 | 584 | # v2.39.41 585 | ## (2024-02-27) 586 | 587 | * Update balena/open-balena-base Docker tag to v17.0.6 [Self-hosted Renovate Bot] 588 | 589 | # v2.39.40 590 | ## (2024-02-14) 591 | 592 | * Update balena/open-balena-base Docker tag to v17.0.5 [Self-hosted Renovate Bot] 593 | 594 | # v2.39.39 595 | ## (2024-02-06) 596 | 597 | * enable S3 encryption config toggle [Anton Belodedenko] 598 | 599 | # v2.39.38 600 | ## (2024-01-24) 601 | 602 | * Update balena/open-balena-base Docker tag to v17.0.4 [Self-hosted Renovate Bot] 603 | 604 | # v2.39.37 605 | ## (2024-01-22) 606 | 607 | * Update balena/open-balena-base Docker tag to v17.0.3 [Self-hosted Renovate Bot] 608 | 609 | # v2.39.36 610 | ## (2024-01-15) 611 | 612 | * Update balena/open-balena-base Docker tag to v17.0.2 [Self-hosted Renovate Bot] 613 | 614 | # v2.39.35 615 | ## (2024-01-10) 616 | 617 | * Update balena/open-balena-base Docker tag to v17.0.1 [Self-hosted Renovate Bot] 618 | 619 | # v2.39.34 620 | ## (2023-12-21) 621 | 622 | * Update balena/open-balena-base Docker tag to v17 [Self-hosted Renovate Bot] 623 | 624 | # v2.39.33 625 | ## (2023-12-19) 626 | 627 | * Remove repo config from flowzone.yml [Kyle Harding] 628 | 629 | # v2.39.32 630 | ## (2023-12-13) 631 | 632 | * Update balena/open-balena-base Docker tag to v16.0.18 [Self-hosted Renovate Bot] 633 | 634 | # v2.39.31 635 | ## (2023-12-06) 636 | 637 | * Update balena/open-balena-base Docker tag to v16.0.17 [Self-hosted Renovate Bot] 638 | 639 | # v2.39.30 640 | ## (2023-12-05) 641 | 642 | * Update balena/open-balena-base Docker tag to v16.0.16 [Self-hosted Renovate Bot] 643 | 644 | # v2.39.29 645 | ## (2023-11-22) 646 | 647 | * Update balena/open-balena-base Docker tag to v16.0.15 [Self-hosted Renovate Bot] 648 | 649 | # v2.39.28 650 | ## (2023-11-15) 651 | 652 | * Update balena/open-balena-base Docker tag to v16.0.14 [Self-hosted Renovate Bot] 653 | 654 | # v2.39.27 655 | ## (2023-11-12) 656 | 657 | * update docker/distribution to v2.8.3 [Anton Belodedenko] 658 | 659 | # v2.39.26 660 | ## (2023-11-02) 661 | 662 | * Update balena/open-balena-base Docker tag to v16.0.13 [Self-hosted Renovate Bot] 663 | 664 | # v2.39.25 665 | ## (2023-10-31) 666 | 667 | * Update balena/open-balena-base Docker tag to v16.0.12 [Self-hosted Renovate Bot] 668 | 669 | # v2.39.24 670 | ## (2023-10-31) 671 | 672 | * Update balena/open-balena-base Docker tag to v16.0.11 [Self-hosted Renovate Bot] 673 | 674 | # v2.39.23 675 | ## (2023-10-18) 676 | 677 | * Update balena/open-balena-base Docker tag to v16.0.10 [Self-hosted Renovate Bot] 678 | 679 | # v2.39.22 680 | ## (2023-10-18) 681 | 682 | * Update balena/open-balena-base Docker tag to v16.0.9 [Self-hosted Renovate Bot] 683 | 684 | # v2.39.21 685 | ## (2023-10-03) 686 | 687 | * Update balena/open-balena-base Docker tag to v16.0.8 [Self-hosted Renovate Bot] 688 | 689 | # v2.39.20 690 | ## (2023-10-02) 691 | 692 | * Update balena/open-balena-base Docker tag to v16.0.7 [Self-hosted Renovate Bot] 693 | 694 | # v2.39.19 695 | ## (2023-09-29) 696 | 697 | * Update balena/open-balena-base Docker tag to v16.0.6 [Self-hosted Renovate Bot] 698 | 699 | # v2.39.18 700 | ## (2023-09-21) 701 | 702 | * Update balena/open-balena-base Docker tag to v16.0.5 [Self-hosted Renovate Bot] 703 | 704 | # v2.39.17 705 | ## (2023-09-21) 706 | 707 | * Update balena/open-balena-base Docker tag to v16.0.4 [Self-hosted Renovate Bot] 708 | 709 | # v2.39.16 710 | ## (2023-09-19) 711 | 712 | * Update balena/open-balena-base Docker tag to v16.0.3 [Self-hosted Renovate Bot] 713 | 714 | # v2.39.15 715 | ## (2023-09-18) 716 | 717 | * Update balena/open-balena-base Docker tag to v16.0.2 [Self-hosted Renovate Bot] 718 | 719 | # v2.39.14 720 | ## (2023-09-13) 721 | 722 | * Update balena/open-balena-base Docker tag to v16.0.1 [Self-hosted Renovate Bot] 723 | 724 | # v2.39.13 725 | ## (2023-09-11) 726 | 727 | 728 |
729 | Update open-balena-base to 16.0.0 [Pagan Gazzard] 730 | 731 | > ## open-balena-base-16.0.0 732 | > ### (2023-09-11) 733 | > 734 | > * Update nodejs to 20.6.1 and npm to 10.1.0 [Pagan Gazzard] 735 | > 736 | 737 |
738 | 739 | # v2.39.12 740 | ## (2023-09-07) 741 | 742 | * Update balena/open-balena-base Docker tag to v15.1.1 [Self-hosted Renovate Bot] 743 | 744 | # v2.39.11 745 | ## (2023-08-24) 746 | 747 | * Update balena/open-balena-base Docker tag to v15.1.0 [Self-hosted Renovate Bot] 748 | 749 | # v2.39.10 750 | ## (2023-08-24) 751 | 752 | * Update balena/open-balena-base Docker tag to v15.0.5 [Self-hosted Renovate Bot] 753 | 754 | # v2.39.9 755 | ## (2023-08-24) 756 | 757 | * Update balena/open-balena-base Docker tag to v15.0.4 [Self-hosted Renovate Bot] 758 | 759 | # v2.39.8 760 | ## (2023-08-05) 761 | 762 | * Fix syntax [Anton Belodedenko] 763 | 764 | # v2.39.7 765 | ## (2023-08-05) 766 | 767 | * Conditionally enable S3 dualstack endpoints [Anton Belodedenko] 768 | 769 | # v2.39.6 770 | ## (2023-07-19) 771 | 772 | * Update balena/open-balena-base Docker tag to v15.0.3 [Self-hosted Renovate Bot] 773 | 774 | # v2.39.5 775 | ## (2023-07-19) 776 | 777 | * Update balena/open-balena-base Docker tag to v15.0.2 [Self-hosted Renovate Bot] 778 | 779 | # v2.39.4 780 | ## (2023-07-18) 781 | 782 | * Update balena/open-balena-base Docker tag to v15.0.1 [Self-hosted Renovate Bot] 783 | 784 | # v2.39.3 785 | ## (2023-07-11) 786 | 787 | * Update registry to 2.8.2 [Pagan Gazzard] 788 | 789 | # v2.39.2 790 | ## (2023-07-10) 791 | 792 | 793 |
794 | Update open-balena-base to 15.0.0 [Pagan Gazzard] 795 | 796 | > ## open-balena-base-15.0.0 797 | > ### (2023-07-06) 798 | > 799 | > * Upgrade to debian bookworm [Pagan Gazzard] 800 | > 801 | 802 |
803 | 804 | # v2.39.1 805 | ## (2023-07-05) 806 | 807 | * Update balena/open-balena-base Docker tag to v14.11.1 [Self-hosted Renovate Bot] 808 | 809 | # v2.39.0 810 | ## (2023-07-05) 811 | 812 | * Update balena/open-balena-base Docker tag to v14.11.0 [Self-hosted Renovate Bot] 813 | 814 | # v2.38.2 815 | ## (2023-06-21) 816 | 817 | * Update balena/open-balena-base Docker tag to v14.10.2 [Self-hosted Renovate Bot] 818 | 819 | # v2.38.1 820 | ## (2023-06-21) 821 | 822 | * Update balena/open-balena-base Docker tag to v14.10.1 [Self-hosted Renovate Bot] 823 | 824 | # v2.38.0 825 | ## (2023-06-07) 826 | 827 | * Update balena/open-balena-base Docker tag to v14.10.0 [Self-hosted Renovate Bot] 828 | 829 | # v2.37.4 830 | ## (2023-05-31) 831 | 832 | * Update balena/open-balena-base Docker tag to v14.9.4 [Self-hosted Renovate Bot] 833 | 834 | # v2.37.3 835 | ## (2023-05-18) 836 | 837 | * Update balena/open-balena-base Docker tag to v14.9.3 [Renovate Bot] 838 | 839 | # v2.37.2 840 | ## (2023-05-03) 841 | 842 | * Update balena/open-balena-base Docker tag to v14.9.2 [Renovate Bot] 843 | 844 | # v2.37.1 845 | ## (2023-05-01) 846 | 847 | * Update balena/open-balena-base Docker tag to v14.9.1 [Renovate Bot] 848 | 849 | # v2.37.0 850 | ## (2023-05-01) 851 | 852 | * Update balena/open-balena-base Docker tag to v14.9.0 [Renovate Bot] 853 | 854 | # v2.36.0 855 | ## (2023-04-13) 856 | 857 | * Update balena/open-balena-base Docker tag to v14.8.0 [Renovate Bot] 858 | 859 | # v2.35.2 860 | ## (2023-04-05) 861 | 862 | * Update balena/open-balena-base Docker tag to v14.7.4 [Renovate Bot] 863 | 864 | # v2.35.1 865 | ## (2023-03-30) 866 | 867 | * Update balena/open-balena-base Docker tag to v14.7.3 [Renovate Bot] 868 | 869 | # v2.35.0 870 | ## (2023-03-22) 871 | 872 | 873 |
874 | Update open-balena-base to 14.7.2 [Pagan Gazzard] 875 | 876 | > ## open-balena-base-14.7.2 877 | > ### (2023-03-22) 878 | > 879 | > * Maintain legacy docker tags behaviour [Kyle Harding] 880 | > 881 | 882 |
883 | 884 | # v2.34.2 885 | ## (2023-03-22) 886 | 887 | * Adds the option to enable the debug server. [Carlo Miguel F. Cruz] 888 | 889 | # v2.34.1 890 | ## (2023-03-20) 891 | 892 | * Update balena/open-balena-base Docker tag to v14.7.1 [Renovate Bot] 893 | 894 | # v2.34.0 895 | ## (2023-03-20) 896 | 897 | * Update balena/open-balena-base Docker tag to v14.7.0 [Renovate Bot] 898 | 899 | # v2.33.2 900 | ## (2023-03-20) 901 | 902 | * Build multiarch images for amd64 and arm64 [Kyle Harding] 903 | 904 | # v2.33.1 905 | ## (2023-03-14) 906 | 907 | * Update balena/open-balena-base Docker tag to v14.6.1 [Renovate Bot] 908 | 909 | # v2.33.0 910 | ## (2023-03-02) 911 | 912 | * Update balena/open-balena-base Docker tag to v14.6.0 [Renovate Bot] 913 | 914 | # v2.32.4 915 | ## (2023-02-23) 916 | 917 | * Update balena/open-balena-base Docker tag to v14.5.4 [Renovate Bot] 918 | 919 | # v2.32.3 920 | ## (2023-02-22) 921 | 922 | * Update balena/open-balena-base Docker tag to v14.5.3 [Renovate Bot] 923 | 924 | # v2.32.2 925 | ## (2023-02-21) 926 | 927 | * Update balena/open-balena-base Docker tag to v14.5.2 [Renovate Bot] 928 | 929 | # v2.32.1 930 | ## (2023-02-20) 931 | 932 | * Update balena/open-balena-base Docker tag to v14.5.1 [Renovate Bot] 933 | 934 | # v2.32.0 935 | ## (2023-02-17) 936 | 937 | * Update balena/open-balena-base Docker tag to v14.5.0 [Renovate Bot] 938 | 939 | # v2.31.1 940 | ## (2023-02-17) 941 | 942 | * Update balena/open-balena-base Docker tag to v14.4.2 [Renovate Bot] 943 | 944 | # v2.31.0 945 | ## (2023-02-04) 946 | 947 | * Update balena/open-balena-base Docker tag to v14.4.1 [Renovate Bot] 948 | 949 | # v2.30.0 950 | ## (2023-01-09) 951 | 952 | * Update balena/open-balena-base Docker tag to v14.2.0 [Renovate Bot] 953 | 954 | # v2.29.4 955 | ## (2022-12-14) 956 | 957 | * Update balena/open-balena-base Docker tag to v14.1.4 [Renovate Bot] 958 | 959 | # v2.29.3 960 | ## (2022-12-08) 961 | 962 | * Update balena/open-balena-base Docker tag to v14.1.3 [Renovate Bot] 963 | 964 | # v2.29.2 965 | ## (2022-12-07) 966 | 967 | * Update balena/open-balena-base Docker tag to v14.1.2 [Renovate Bot] 968 | 969 | # v2.29.1 970 | ## (2022-12-02) 971 | 972 | * Enable external contributors [ab77] 973 | 974 | # v2.29.0 975 | ## (2022-11-24) 976 | 977 | * Update balena/open-balena-base Docker tag to v14.1.0 [Renovate Bot] 978 | 979 | # v2.28.1 980 | ## (2022-11-09) 981 | 982 | * Update balena/open-balena-base Docker tag to v14.0.1 [Renovate Bot] 983 | 984 | # v2.28.0 985 | ## (2022-10-27) 986 | 987 | 988 |
989 | Update open-balena-base to 14.0.0 [Pagan Gazzard] 990 | 991 | > ## open-balena-base-14.0.0 992 | > ### (2022-10-27) 993 | > 994 | > * Update to nodejs 18 [Pagan Gazzard] 995 | > 996 |
997 | 998 | # v2.27.1 999 | ## (2022-10-24) 1000 | 1001 | * Update balena/open-balena-base Docker tag to v13.6.1 [Renovate Bot] 1002 | 1003 | # v2.27.0 1004 | ## (2022-10-14) 1005 | 1006 | * Update balena/open-balena-base Docker tag to v13.6.0 [Renovate Bot] 1007 | 1008 | # v2.26.4 1009 | ## (2022-10-14) 1010 | 1011 | * Update balena/open-balena-base Docker tag to v13.5.3 [Renovate Bot] 1012 | 1013 | # v2.26.3 1014 | ## (2022-09-26) 1015 | 1016 | * Update balena/open-balena-base Docker tag to v13.5.2 [Renovate Bot] 1017 | 1018 | # v2.26.2 1019 | ## (2022-09-26) 1020 | 1021 | * Delete redundant .resinci.yml [Pagan Gazzard] 1022 | 1023 | # v2.26.1 1024 | ## (2022-09-15) 1025 | 1026 | * Switch from balenaCI to flowzone [Pagan Gazzard] 1027 | 1028 | # v2.26.0 1029 | ## (2022-09-12) 1030 | 1031 | * Update balena/open-balena-base Docker tag to v13.5.1 [Renovate Bot] 1032 | 1033 | # v2.25.5 1034 | ## (2022-07-15) 1035 | 1036 | * Increase the default max idle redis connections to 256 [Pagan Gazzard] 1037 | 1038 | # v2.25.4 1039 | ## (2022-07-12) 1040 | 1041 | 1042 |
1043 | Update open-balena-base to 13.4.0 [Pagan Gazzard] 1044 | 1045 | > ## open-balena-base-13.4.0 1046 | > ### (2022-07-09) 1047 | > 1048 | > * Update nodejs to 16.16.0 and npm to 8.13.2 [Pagan Gazzard] 1049 | > 1050 |
1051 | 1052 | # v2.25.3 1053 | ## (2022-06-13) 1054 | 1055 | * Update balena/open-balena-base from v13.3.1 to v13.3.2 [Renovate Bot] 1056 | 1057 | # v2.25.2 1058 | ## (2022-05-05) 1059 | 1060 | 1061 |
1062 | Update open-balena-base to 13.3.1 [Pagan Gazzard] 1063 | 1064 | > ## open-balena-base-13.3.1 1065 | > ### (2022-05-05) 1066 | > 1067 | > * Add SystemMaxUse for journald.conf [Pagan Gazzard] 1068 | > 1069 |
1070 | 1071 | # v2.25.1 1072 | ## (2022-05-03) 1073 | 1074 | 1075 |
1076 | Update open-balena-base to 13.3.0 [Pagan Gazzard] 1077 | 1078 | > ## open-balena-base-13.3.0 1079 | > ### (2022-05-02) 1080 | > 1081 | > * Update nodejs to 16.15.0 and npm to 8.8.0 [Pagan Gazzard] 1082 | > 1083 |
1084 | 1085 | # v2.25.0 1086 | ## (2022-04-28) 1087 | 1088 | * Add config to disable upload purging [Pagan Gazzard] 1089 | 1090 | # v2.24.6 1091 | ## (2022-04-22) 1092 | 1093 | * Allow configuring log level and default to `error` level [Pagan Gazzard] 1094 | 1095 | # v2.24.5 1096 | ## (2022-04-21) 1097 | 1098 | * Do not use cloudfront if the request is from AWS ips [Pagan Gazzard] 1099 | 1100 | # v2.24.4 1101 | ## (2022-04-08) 1102 | 1103 | * Update open-balena-base to 13.2.3 Update open-balena-base from 13.2.1 to 13.2.3 [ab77] 1104 | 1105 | # v2.24.3 1106 | ## (2022-03-21) 1107 | 1108 | 1109 |
1110 | Update open-balena-base to 13.2.1 [Pagan Gazzard] 1111 | 1112 | > ## open-balena-base-13.2.1 1113 | > ### (2022-03-21) 1114 | > 1115 | > * Update nodejs to 16.14.2 and npm to 8.5.5 [Pagan Gazzard] 1116 | > 1117 | > ## open-balena-base-13.2.0 1118 | > ### (2022-02-22) 1119 | > 1120 | > * Consistent SENTRY environment names [ab77] 1121 | > 1122 |
1123 | 1124 | # v2.24.2 1125 | ## (2022-02-21) 1126 | 1127 | 1128 |
1129 | Update open-balena-base to 13.1.0 [Pagan Gazzard] 1130 | 1131 | > ## open-balena-base-13.1.0 1132 | > ### (2022-02-21) 1133 | > 1134 | > * Update nodejs to 16.14.0 and npm to 8.5.1 [Pagan Gazzard] 1135 | > 1136 | > ## open-balena-base-13.0.7 1137 | > ### (2022-02-16) 1138 | > 1139 | > * Avoid cryptic names and rename bcr to registry-proxy [Kyle Harding] 1140 | > 1141 | > ## open-balena-base-13.0.6 1142 | > ### (2022-02-15) 1143 | > 1144 | > * Add new balena container registry (bcr) host [Kyle Harding] 1145 | > 1146 | > ## open-balena-base-13.0.5 1147 | > ### (2022-02-01) 1148 | > 1149 | > * Refactor ROOT_CA handling/resolution [ab77] 1150 | > 1151 |
1152 | 1153 | # v2.24.1 1154 | ## (2022-02-08) 1155 | 1156 | * Fix path [Pagan Gazzard] 1157 | 1158 | # v2.24.0 1159 | ## (2022-02-08) 1160 | 1161 | * Update registry to v2.8.0 [Pagan Gazzard] 1162 | 1163 | # v2.23.1 1164 | ## (2022-01-13) 1165 | 1166 | 1167 |
1168 | Update open-balena-base to 13.0.4 [Pagan Gazzard] 1169 | 1170 | > ## open-balena-base-13.0.4 1171 | > ### (2022-01-11) 1172 | > 1173 | > * Update to nodejs 16.13.2 and npm 8.3.0 [Pagan Gazzard] 1174 | > 1175 |
1176 | 1177 | # v2.23.0 1178 | ## (2021-12-31) 1179 | 1180 | * Add configuration for the redis cache pool [Pagan Gazzard] 1181 | 1182 | # v2.22.1 1183 | ## (2021-12-09) 1184 | 1185 | 1186 |
1187 | Update open-balena-base to 13.0.3 [Pagan Gazzard] 1188 | 1189 | > ## open-balena-base-13.0.3 1190 | > ### (2021-12-08) 1191 | > 1192 | > * Update to nodejs 16.13.1 and npm 8.2.0 [Pagan Gazzard] 1193 | > 1194 |
1195 | 1196 | # v2.22.0 1197 | ## (2021-11-24) 1198 | 1199 | 1200 |
1201 | Update open-balena-base to 13.0.2 [ab77] 1202 | 1203 | > ## open-balena-base-13.0.2 1204 | > ### (2021-11-19) 1205 | > 1206 | > * Stage stack global environment [ab77] 1207 | > 1208 | > ## open-balena-base-13.0.1 1209 | > ### (2021-11-01) 1210 | > 1211 | > * Install python3 for node-gyp 8.x which is used by npm 8 [Pagan Gazzard] 1212 | > 1213 |
1214 | 1215 | # v2.21.0 1216 | ## (2021-11-15) 1217 | 1218 | * Increase soft-limit of maximum number of open files [Akis Kesoglou] 1219 | 1220 | # v2.20.0 1221 | ## (2021-11-01) 1222 | 1223 | 1224 |
1225 | Update open-balena-base to 13.0.0 [Pagan Gazzard] 1226 | 1227 | > ## open-balena-base-13.0.0 1228 | > ### (2021-10-30) 1229 | > 1230 | > * Update nodejs to 16.13.0 and npm 8.1.1 [Pagan Gazzard] 1231 | > 1232 |
1233 | 1234 | # v2.19.1 1235 | ## (2021-10-18) 1236 | 1237 | 1238 |
1239 | Update open-balena-base to 12.2.0 [Pagan Gazzard] 1240 | 1241 | > ## open-balena-base-12.2.0 1242 | > ### (2021-10-18) 1243 | > 1244 | > * Update nodejs to 14.18.1 and npm to 6.14.15 [Pagan Gazzard] 1245 | > 1246 | > ## open-balena-base-12.1.1 1247 | > ### (2021-10-14) 1248 | > 1249 | > * Simplify config by baking the device UUID into the DNS_TLD if available [Akis Kesoglou] 1250 | > * Fix configuration for non-BoB deployments [Akis Kesoglou] 1251 | > 1252 |
1253 | 1254 | # v2.19.0 1255 | ## (2021-09-24) 1256 | 1257 | 1258 |
1259 | Update open-balena-base to 12.1.0 [ab77] 1260 | 1261 | > ## open-balena-base-12.1.0 1262 | > ### (2021-09-24) 1263 | > 1264 | > * Auto-configure balenaMachine(bob) [ab77] 1265 | > 1266 |
1267 | 1268 | # v2.18.2 1269 | ## (2021-09-07) 1270 | 1271 | * Update open-balena-base to 12.0.3 Update open-balena-base from 12.0.2 to 12.0.3 [ab77] 1272 | 1273 | # v2.18.1 1274 | ## (2021-08-24) 1275 | 1276 | 1277 |
1278 | Update open-balena-base to 12.0.2 [Pagan Gazzard] 1279 | 1280 | > ## open-balena-base-12.0.2 1281 | > ### (2021-08-24) 1282 | > 1283 | > * Use multi-user.target as the default target [Pagan Gazzard] 1284 | > 1285 |
1286 | 1287 | 1288 |
1289 | Update open-balena-base to 12.0.1 [ab77] 1290 | 1291 | > ## open-balena-base-12.0.1 1292 | > ### (2021-08-19) 1293 | > 1294 | > * Use basic.target as the default target [Pagan Gazzard] 1295 | > 1296 |
1297 | 1298 | # v2.18.0 1299 | ## (2021-08-19) 1300 | 1301 | 1302 |
1303 | Update open-balena-base to 12.0.1 [Pagan Gazzard] 1304 | 1305 | > ## open-balena-base-12.0.1 1306 | > ### (2021-08-19) 1307 | > 1308 | > * Use basic.target as the default target [Pagan Gazzard] 1309 | > 1310 |
1311 | 1312 | # v2.17.0 1313 | ## (2021-08-19) 1314 | 1315 | 1316 |
1317 | Update open-balena-base to 12.0.0 [Pagan Gazzard] 1318 | 1319 | > ## open-balena-base-12.0.0 1320 | > ### (2021-08-17) 1321 | > 1322 | > * Update to debian bullseye [Pagan Gazzard] 1323 | > 1324 |
1325 | 1326 | # v2.16.8 1327 | ## (2021-08-19) 1328 | 1329 | 1330 |
1331 | Update open-balena-base to 11.3.12 [Pagan Gazzard] 1332 | 1333 | > ## open-balena-base-11.3.12 1334 | > ### (2021-08-13) 1335 | > 1336 | > * Add hosts [ab77] 1337 | > 1338 | > ## open-balena-base-11.3.11 1339 | > ### (2021-08-13) 1340 | > 1341 | > * Remove deprecated etcd config [ab77] 1342 | > 1343 | > ## open-balena-base-11.3.10 1344 | > ### (2021-08-13) 1345 | > 1346 | > * Add missing init script [ab77] 1347 | > 1348 |
1349 | 1350 | # v2.16.7 1351 | ## (2021-08-13) 1352 | 1353 | 1354 |
1355 | Update open-balena-base to 11.3.9 [Pagan Gazzard] 1356 | 1357 | > ## open-balena-base-11.3.9 1358 | > ### (2021-08-13) 1359 | > 1360 | > * Update no-systemd variant [ab77] 1361 | > 1362 |
1363 | 1364 | # v2.16.6 1365 | ## (2021-08-12) 1366 | 1367 | 1368 |
1369 | Update open-balena-base to 11.3.8 [Pagan Gazzard] 1370 | 1371 | > ## open-balena-base-11.3.8 1372 | > ### (2021-08-12) 1373 | > 1374 | > * Update nodejs to 14.17.5 [Pagan Gazzard] 1375 | > 1376 | > ## open-balena-base-11.3.7 1377 | > ### (2021-07-30) 1378 | > 1379 | > * Use DNS_TLD internally [ab77] 1380 | > 1381 | > ## open-balena-base-11.3.6 1382 | > ### (2021-07-30) 1383 | > 1384 | > * Accept DNS_TLD in place of BALENA_TLD [ab77] 1385 | > 1386 |
1387 | 1388 | # v2.16.5 1389 | ## (2021-08-02) 1390 | 1391 | 1392 |
1393 | Update open-balena-base to 11.3.5 [Pagan Gazzard] 1394 | 1395 | > ## open-balena-base-11.3.5 1396 | > ### (2021-07-30) 1397 | > 1398 | > * Update nodejs to 14.17.4 and npm to 6.14.14 [Pagan Gazzard] 1399 | > 1400 | > ## open-balena-base-11.3.4 1401 | > ### (2021-07-30) 1402 | > 1403 | > * Correct env var name and sort [ab77] 1404 | > 1405 |
1406 | 1407 | # v2.16.4 1408 | ## (2021-07-29) 1409 | 1410 | 1411 |
1412 | Update open-balena-base to 11.3.3 [Pagan Gazzard] 1413 | 1414 | > ## open-balena-base-11.3.3 1415 | > ### (2021-07-29) 1416 | > 1417 | > * Add parallel HOSTs and env vars [ab77] 1418 | > 1419 |
1420 | 1421 | # v2.16.3 1422 | ## (2021-07-13) 1423 | 1424 | * Remove BALENA_ env var prefix [ab77] 1425 | 1426 | # v2.16.2 1427 | ## (2021-07-05) 1428 | 1429 | 1430 |
1431 | Update open-balena-base to 11.3.2 [Pagan Gazzard] 1432 | 1433 | > ## open-balena-base-11.3.2 1434 | > ### (2021-07-02) 1435 | > 1436 | > * Update nodejs to 14.17.2 [Pagan Gazzard] 1437 | > 1438 | > ## open-balena-base-11.3.1 1439 | > ### (2021-06-30) 1440 | > 1441 | > * Delete .github directory [dfunckt] 1442 | > 1443 | > ## open-balena-base-11.3.0 1444 | > ### (2021-06-30) 1445 | > 1446 | > * Update nodejs to 14.17.1 [Trong Nghia Nguyen] 1447 | > 1448 |
1449 | 1450 | * Delete .github directory [dfunckt] 1451 | 1452 | # v2.16.1 1453 | ## (2021-05-14) 1454 | 1455 | 1456 |
1457 | Update open-balena-base to 11.2.0 [Pagan Gazzard] 1458 | 1459 | > ## open-balena-base-11.2.0 1460 | > ### (2021-05-14) 1461 | > 1462 | > * Update nodejs to 14.17.0 and npm to 6.14.13 [Pagan Gazzard] 1463 | > 1464 |
1465 | 1466 | # v2.16.0 1467 | ## (2021-05-05) 1468 | 1469 | * Add ability to disable storage redirect [Bart Versluijs] 1470 | 1471 | # v2.15.3 1472 | ## (2021-04-09) 1473 | 1474 | 1475 |
1476 | Update open-balena-base to 11.1.2 [Pagan Gazzard] 1477 | 1478 | > ## open-balena-base-11.1.2 1479 | > ### (2021-04-08) 1480 | > 1481 | > * Update nodejs to 14.16.1 and npm to 6.14.12 [Pagan Gazzard] 1482 | > 1483 | > ## open-balena-base-11.1.1 1484 | > ### (2021-03-17) 1485 | > 1486 | > * Drop CircleCI [ab77] 1487 | > 1488 |
1489 | 1490 | # v2.15.2 1491 | ## (2021-02-24) 1492 | 1493 | 1494 |
1495 | Update open-balena-base to 11.1.0 [Pagan Gazzard] 1496 | 1497 | > ## open-balena-base-11.1.0 1498 | > ### (2021-02-24) 1499 | > 1500 | > * Update nodejs to 14.16.0 [Pagan Gazzard] 1501 | > 1502 |
1503 | 1504 | # v2.15.1 1505 | ## (2021-02-17) 1506 | 1507 | 1508 |
1509 | Update open-balena-base to 11.0.5 [Pagan Gazzard] 1510 | 1511 | > ## open-balena-base-11.0.5 1512 | > ### (2021-02-15) 1513 | > 1514 | > * Update nodejs to 14.15.5 and npm to 6.14.11 [Pagan Gazzard] 1515 | > 1516 |
1517 | 1518 | # v2.15.0 1519 | ## (2021-02-04) 1520 | 1521 | * Enable deletion of old entries when using as pull through cache. [Carlo Miguel Cruz] 1522 | * Add ability to configure registry as a Hub proxy [Akis Kesoglou] 1523 | 1524 | # v2.14.4 1525 | ## (2021-01-29) 1526 | 1527 | * Remove Hedley from CODEOWNERS [dfunckt] 1528 | 1529 | # v2.14.3 1530 | ## (2021-01-13) 1531 | 1532 | 1533 |
1534 | Update open-balena-base to 11.0.4 [Pagan Gazzard] 1535 | 1536 | > ## open-balena-base-11.0.4 1537 | > ### (2021-01-08) 1538 | > 1539 | > * Update nodejs to 14.15.4 and npm to 6.14.10 [Pagan Gazzard] 1540 | > 1541 |
1542 | 1543 | # v2.14.2 1544 | ## (2020-12-23) 1545 | 1546 | 1547 |
1548 | Update open-balena-base to 11.0.3 [Pagan Gazzard] 1549 | 1550 | > ## open-balena-base-11.0.3 1551 | > ### (2020-12-18) 1552 | > 1553 | > * Update nodejs to 14.15.3 and npm to 6.14.9 [Pagan Gazzard] 1554 | > 1555 |
1556 | 1557 | # v2.14.1 1558 | ## (2020-11-20) 1559 | 1560 | 1561 |
1562 | Update open-balena-base to 11.0.2 [Pagan Gazzard] 1563 | 1564 | > ## open-balena-base-11.0.2 1565 | > ### (2020-11-18) 1566 | > 1567 | > * Update nodejs to 14.15.1 [Pagan Gazzard] 1568 | > 1569 | > ## open-balena-base-11.0.1 1570 | > ### (2020-10-29) 1571 | > 1572 | > * Publish tagged versions of the no-systemd image [Pagan Gazzard] 1573 | > 1574 |
1575 | 1576 | # v2.14.0 1577 | ## (2020-10-28) 1578 | 1579 | 1580 |
1581 | Update open-balena-base to 11.0.0 [Pagan Gazzard] 1582 | 1583 | > ## open-balena-base-11.0.0 1584 | > ### (2020-10-27) 1585 | > 1586 | > * Update to nodejs 14 [Pagan Gazzard] 1587 | > 1588 | > ## open-balena-base-10.1.1 1589 | > ### (2020-10-09) 1590 | > 1591 | > * Fix no-systemd nodejs version [Pagan Gazzard] 1592 | > 1593 |
1594 | 1595 | # v2.13.13 1596 | ## (2020-10-08) 1597 | 1598 | 1599 |
1600 | Update open-balena-base to 10.1.0 [Pagan Gazzard] 1601 | 1602 | > ## open-balena-base-10.1.0 1603 | > ### (2020-10-07) 1604 | > 1605 | > * Update nodejs to 12.19.0 [Pagan Gazzard] 1606 | > 1607 |
1608 | 1609 | # v2.13.12 1610 | ## (2020-10-07) 1611 | 1612 | 1613 |
1614 | Update open-balena-base to v10.0.2 [Will Boyce] 1615 | 1616 | > ## open-balena-base-10.0.2 1617 | > ### (2020-09-17) 1618 | > 1619 | > * Delete custom versionist.conf.js and add repo.yml [Giovanni Garufi] 1620 | > 1621 | > ## open-balena-base-10.0.1 1622 | > ### (2020-09-17) 1623 | > 1624 | > * Update nodejs to 12.18.4 and npm to 6.14.8 [Pagan Gazzard] 1625 | > 1626 | > ## open-balena-base-10.0.0 1627 | > ### (2020-08-26) 1628 | > 1629 | > * remove support for etcd-based confd config [Will Boyce] 1630 | > 1631 |
1632 | 1633 | # v2.13.11 1634 | ## (2020-07-24) 1635 | 1636 | 1637 |
1638 | Update open-balena-base to 9.4.3 [Pagan Gazzard] 1639 | 1640 | > ## open-balena-base-9.4.3 1641 | > ### (2020-07-24) 1642 | > 1643 | > * Update nodejs to 12.18.3 and npm to 6.14.7 [Pagan Gazzard] 1644 | > 1645 |
1646 | 1647 | # v2.13.10 1648 | ## (2020-06-30) 1649 | 1650 | 1651 |
1652 | Update open-balena-base to 9.4.2 [Pagan Gazzard] 1653 | 1654 | > ## open-balena-base-9.4.2 1655 | > ### (2020-06-30) 1656 | > 1657 | > * Update nodejs to 12.18.2 [Pagan Gazzard] 1658 |
1659 | 1660 | # v2.13.9 1661 | ## (2020-06-19) 1662 | 1663 | 1664 |
1665 | Update open-balena-base to 9.4.1 [Pagan Gazzard] 1666 | 1667 | > ## open-balena-base-9.4.1 1668 | > ### (2020-06-19) 1669 | > 1670 | > * Update nodejs to 12.18.1 [Pagan Gazzard] 1671 |
1672 | 1673 | # v2.13.8 1674 | ## (2020-06-10) 1675 | 1676 | 1677 |
1678 | Update open-balena-base to 9.4.0 [Pagan Gazzard] 1679 | 1680 | > ## open-balena-base-9.4.0 1681 | > ### (2020-06-08) 1682 | > 1683 | > * Update nodejs to 12.18.0 [Pagan Gazzard] 1684 | 1685 | > ## open-balena-base-9.3.0 1686 | > ### (2020-05-29) 1687 | > 1688 | > * Update nodejs to 12.17.0 and npm to 6.14.5 [Pagan Gazzard] 1689 |
1690 | 1691 | # v2.13.7 1692 | ## (2020-05-01) 1693 | 1694 | 1695 |
1696 | Update open-balena-base to 9.2.4 [Pagan Gazzard] 1697 | 1698 | > ## open-balena-base-9.2.4 1699 | > ### (2020-04-30) 1700 | > 1701 | > * Update nodejs to 12.16.3 [Pagan Gazzard] 1702 | 1703 | > ## open-balena-base-9.2.3 1704 | > ### (2020-04-15) 1705 | > 1706 | > * Forward log from journald to console by default [Trong Nghia Nguyen] 1707 |
1708 | 1709 | # v2.13.6 1710 | ## (2020-04-09) 1711 | 1712 | 1713 |
1714 | Update open-balena-base to 9.2.2 [Pagan Gazzard] 1715 | 1716 | > ## open-balena-base-9.2.2 1717 | > ### (2020-04-09) 1718 | > 1719 | > * Update nodejs to 12.16.2, npm to 6.14.4 [Pagan Gazzard] 1720 |
1721 | 1722 | # v2.13.5 1723 | ## (2020-02-20) 1724 | 1725 | 1726 |
1727 | Update open-balena-base to 9.2.1 [Pagan Gazzard] 1728 | 1729 | > ## open-balena-base-9.2.1 1730 | > ### (2020-02-20) 1731 | > 1732 | > * Update nodejs to 12.16.1 [Pagan Gazzard] 1733 |
1734 | 1735 | # v2.13.4 1736 | ## (2020-02-13) 1737 | 1738 | 1739 |
1740 | Update open-balena-base to 9.2.0 [Pagan Gazzard] 1741 | 1742 | > ## open-balena-base-9.2.0 1743 | > ### (2020-02-11) 1744 | > 1745 | > * Update nodejs to 12.16.0 [Pagan Gazzard] 1746 |
1747 | 1748 | # v2.13.3 1749 | ## (2020-02-10) 1750 | 1751 | 1752 |
1753 | Update open-balena-base to 9.1.0 [Pagan Gazzard] 1754 | 1755 | > ## open-balena-base-9.1.0 1756 | > ### (2020-02-06) 1757 | > 1758 | > * Update nodejs to 12.15.0 and npm to 6.13.7 [Pagan Gazzard] 1759 |
1760 | 1761 | # v2.13.2 1762 | ## (2020-01-20) 1763 | 1764 | 1765 |
1766 | Update open-balena-base to 9.0.5 [Pagan Gazzard] 1767 | 1768 | > ## open-balena-base-9.0.5 1769 | > ### (2020-01-10) 1770 | > 1771 | > * Update nodejs to 12.14.1 and npm to 6.13.6 [Pagan Gazzard] 1772 | 1773 | > ## open-balena-base-9.0.4 1774 | > ### (2020-01-07) 1775 | > 1776 | > * Mask apt-daily-upgrade.timer [Pagan Gazzard] 1777 |
1778 | 1779 | # v2.13.1 1780 | ## (2019-12-24) 1781 | 1782 | 1783 |
1784 | Update open-balena-base to 9.0.3 [Pagan Gazzard] 1785 | 1786 | > ## open-balena-base-9.0.3 1787 | > ### (2019-12-24) 1788 | > 1789 | > * Update nodejs to 12.14.0 and npm to 6.13.4 [Pagan Gazzard] 1790 | 1791 | > ## open-balena-base-9.0.2 1792 | > ### (2019-12-20) 1793 | > 1794 | > * Don't use UID used in node archive when unpacking as root [Federico Fissore] 1795 | 1796 | > ## open-balena-base-9.0.1 1797 | > ### (2019-11-15) 1798 | > 1799 | > * Update node to 12 in no systemd variant [Roman Mazur] 1800 |
1801 | 1802 | # v2.13.0 1803 | ## (2019-10-21) 1804 | 1805 | 1806 |
1807 | Update open-balena-base to 9.0.0 [Pagan Gazzard] 1808 | 1809 | > ## open-balena-base-9.0.0 1810 | > ### (2019-10-21) 1811 | > 1812 | > * Update to nodejs 12 [Pagan Gazzard] 1813 | 1814 | > ## open-balena-base-8.1.0 1815 | > ### (2019-09-24) 1816 | > 1817 | > * Respect BALENA_TLD env variable in nosystemd variant [Roman Mazur] 1818 | > * Optimize for caching [Roman Mazur] 1819 | > * Use balena node base image [Roman Mazur] 1820 | > * Add a base image without systemd [Roman Mazur] 1821 |
1822 | 1823 | # v2.12.0 1824 | ## (2019-10-07) 1825 | 1826 | * Disable Redis database persistence [Akis Kesoglou] 1827 | 1828 | # v2.11.3 1829 | ## (2019-08-20) 1830 | 1831 | 1832 |
1833 | Update open-balena-base to 8.0.3 [Pagan Gazzard] 1834 | 1835 | > ## open-balena-base-8.0.3 1836 | > ### (2019-08-16) 1837 | > 1838 | > * 🔒: Update Node to 10.16.3 and NPM to 6.10.3 [Andreas Fitzek] 1839 |
1840 | 1841 | # v2.11.2 1842 | ## (2019-08-06) 1843 | 1844 | 1845 |
1846 | Update open-balena-base to 8.0.2 [Pagan Gazzard] 1847 | 1848 | > ## open-balena-base-8.0.2 1849 | > ### (2019-08-06) 1850 | > 1851 | > * Update nodejs to 10.16.1 and npm to 6.10.2 [Pagan Gazzard] 1852 |
1853 | 1854 | # v2.11.1 1855 | ## (2019-07-26) 1856 | 1857 | * service: Fix confd template for using S3 storage [Rich Bayliss] 1858 | 1859 | # v2.11.0 1860 | ## (2019-07-18) 1861 | 1862 | * confd: Set ipfilteredby in docker-registry cloudfront middleware [Michael Angelos Simos] 1863 | * confd: Expect base64 encoded value for cloudfront-pk [Michael Angelos Simos] 1864 | * confd: Add cloudfront configuration for etcd backend [Michael Angelos Simos] 1865 | * confd: Add cloudfront configuration for env backend [Michael Angelos Simos] 1866 | 1867 | # v2.10.3 1868 | ## (2019-07-17) 1869 | 1870 | 1871 |
1872 | Update open-balena-base to 8.0.1 [Pagan Gazzard] 1873 | 1874 | > ## open-balena-base-8.0.1 1875 | > ### (2019-07-17) 1876 | > 1877 | > * mdns: Ensure multipart subdomains are allowed [Heds Simons] 1878 |
1879 | 1880 | # v2.10.2 1881 | ## (2019-07-17) 1882 | 1883 | * Fix redis-server startup [Pagan Gazzard] 1884 | 1885 | # v2.10.1 1886 | ## (2019-07-15) 1887 | 1888 | * systemd: move StartLimitIntervalSec to proper section [Matthew McGinn] 1889 | 1890 | # v2.10.0 1891 | ## (2019-07-08) 1892 | 1893 | 1894 |
1895 | Update open-balena-base to 8.0.0 [Pagan Gazzard] 1896 | 1897 | > ## open-balena-base-8.0.0 1898 | > ### (2019-07-08) 1899 | > 1900 | > * Upgrade to debian buster [Pagan Gazzard] 1901 |
1902 | 1903 | # v2.9.0 1904 | ## (2019-06-28) 1905 | 1906 | * Add ability to configure the S3 endpoint [Akis Kesoglou] 1907 | 1908 | # v2.8.2 1909 | ## (2019-06-20) 1910 | 1911 | * Update open-balena-base to 7.2.2 [Pagan Gazzard] 1912 | 1913 |
1914 | View details 1915 | 1916 | ## open-balena-base-7.2.2 1917 | ### (2019-06-19) 1918 | 1919 | * systemd: move StartLimitIntervalSec to proper conf section [Matthew McGinn] 1920 |
1921 | 1922 | # v2.8.1 1923 | ## (2019-06-07) 1924 | 1925 | * Update open-balena-base to 7.2.1 [Pagan Gazzard] 1926 | 1927 |
1928 | View details 1929 | 1930 | ## open-balena-base-7.2.1 1931 | ### (2019-06-03) 1932 | 1933 | * Fix adding htoprc [Pagan Gazzard] 1934 |
1935 | 1936 | # v2.8.0 1937 | ## (2019-05-29) 1938 | 1939 | * Update open-balena-base to 7.2.0 [Pagan Gazzard] 1940 | 1941 |
1942 | View details 1943 | 1944 | ## open-balena-base-7.2.0 1945 | ### (2019-05-29) 1946 | 1947 | * Add default htop settings to hide threads and use a tree view [Pagan Gazzard] 1948 | 1949 | ## open-balena-base-7.1.0 1950 | ### (2019-05-29) 1951 | 1952 | * Update nodejs to 10.16.0 and npm to 6.9.0 [Pagan Gazzard] 1953 |
1954 | 1955 | # v2.7.4 1956 | ## (2019-05-22) 1957 | 1958 | * versionbot: Add CHANGELOG.yml to allow nested changelogs [Rich Bayliss] 1959 | 1960 | # v2.7.3 1961 | ## (2019-05-15) 1962 | 1963 | * versionbot: Remove old VB1 artefacts [Heds Simons] 1964 | 1965 | # v2.7.2 1966 | ## (2019-05-14) 1967 | 1968 | * Add repo.yml for future open-balena-base updates [Pagan Gazzard] 1969 | 1970 | ## v2.7.1 - 2019-05-06 1971 | 1972 | * Rename resin-registry to balena-registry and disable the start limit [Pagan Gazzard] 1973 | * Update open-balena-base to v7.0.2 [Pagan Gazzard] 1974 | 1975 | ## v2.7.0 - 2019-03-28 1976 | 1977 | * Convert indentation to 2 spaces in YAML [Akis Kesoglou] 1978 | * Configure Redis via the environment [Akis Kesoglou] 1979 | 1980 | ## v2.6.0 - 2019-03-15 1981 | 1982 | * Enable redis cache [Pagan Gazzard] 1983 | 1984 | ## v2.5.0 - 2019-03-15 1985 | 1986 | * Update registry to v2.7.1 [Pagan Gazzard] 1987 | 1988 | ## v2.4.0 - 2019-03-14 1989 | 1990 | * Open-balena-base: Update open-balena-base to v7.0.0 [Heds Simons] 1991 | 1992 | ## v2.3.0 - 2019-03-12 1993 | 1994 | * Open-balena-base: Update open-balena-base to v6.0.0 [Heds Simons] 1995 | 1996 | ## v2.2.1 - 2019-03-08 1997 | 1998 | * Codeowners: Add @dfunckt, @Page- & @hedss [Heds Simons] 1999 | 2000 | ## v2.2.0 - 2019-03-05 2001 | 2002 | * Update open-balena-base to v5.3.1 [Pagan Gazzard] 2003 | 2004 | ## v2.1.1 - 2018-12-03 2005 | 2006 | * Update open-balena-base to v5.0.1 [Pagan Gazzard] 2007 | 2008 | ## v2.1.0 - 2018-10-30 2009 | 2010 | * Update to open-balena-base 5.0.0, including nodejs 10 [Pagan Gazzard] 2011 | 2012 | ## v2.0.3 - 2018-10-27 2013 | 2014 | * Stop publishing to private Docker Hub repo [Akis Kesoglou] 2015 | * Add LICENSE [Akis Kesoglou] 2016 | 2017 | ## v2.0.2 - 2018-10-26 2018 | 2019 | * Base: Update resin-base version to autoset subdomain envvars [Heds Simons] 2020 | 2021 | ## v2.0.1 - 2018-10-25 2022 | 2023 | * Rename: Use `balena/open-balena-base` base image [Will Boyce] 2024 | * Rename: Publish Docker image to both balena and resin accounts [Will Boyce] 2025 | 2026 | ## v2.0.0 - 2018-10-01 2027 | 2028 | * Prepare for open-sourcing [Akis Kesoglou] 2029 | 2030 | ## v1.9.2 - 2018-09-28 2031 | 2032 | * Dns: Ensure DNS is prioritised over MDNS [Heds Simons] 2033 | 2034 | ## v1.9.1 - 2018-09-24 2035 | 2036 | * Logging: Enable logging output to also go to console [Heds Simons] 2037 | 2038 | ## v1.9.0 - 2018-09-11 2039 | 2040 | * Update to resin-base 4.3.0 [Pagan Gazzard] 2041 | 2042 | ## v1.8.0 - 2018-08-27 2043 | 2044 | * Expose Registry directly instead of proxying via nginx #45 [Akis Kesoglou] 2045 | 2046 | ## v1.7.6 - 2018-07-17 2047 | 2048 | * Revert to use of sks-keyservers for nginx key fetch. #44 [Heds Simons] 2049 | 2050 | ## v1.7.5 - 2018-07-16 2051 | 2052 | * Move to fetching `nginx` signing key directly from nginx.org instead of 3rd party keyserver. #42 [Heds Simons] 2053 | 2054 | ## v1.7.4 - 2018-07-10 2055 | 2056 | * Ensure `nginx` runs in daemon mode so `systemd` doesn't stop it due to timeout. #40 [Heds Simons] 2057 | 2058 | ## v1.7.3 - 2018-07-09 2059 | 2060 | * Move to latest version of `resin-base` to include MDNS support. #38 [Heds Simons] 2061 | 2062 | ## v1.7.2 - 2018-06-15 2063 | 2064 | * Move to a more reliable apt keyserver for Nginx install. #36 [Heds Simons] 2065 | 2066 | ## v1.7.1 - 2018-03-20 2067 | 2068 | * Use local build script in CI #31 [Akis Kesoglou] 2069 | 2070 | ## v1.7.0 - 2018-03-14 2071 | 2072 | * Add confd envvar configuration. #34 [Michael Angelos Simos] 2073 | 2074 | ## v1.6.0 - 2018-03-14 2075 | 2076 | * Update to resin-base v3.3.0 #32 [Akis Kesoglou] 2077 | 2078 | ## v1.5.2 - 2017-12-14 2079 | 2080 | * Revert "nginx.conf: Use equal values for client_body_buffer_size and client_max_body_size to avoid writing big files to disk" #29 [Akis Kesoglou] 2081 | 2082 | ## v1.5.1 - 2017-12-11 2083 | 2084 | * Nginx.conf: Use equal values for client_body_buffer_size and client_max_body_size to avoid writing big files to disk #28 [Pablo Carranza Velez] 2085 | 2086 | ## v1.5.0 - 2017-09-04 2087 | 2088 | * Update registry to 2.6.2 #27 [Akis Kesoglou] 2089 | 2090 | ## v1.4.0 - 2017-08-29 2091 | 2092 | * Added support for Circle.ci #25 [Akis Kesoglou] 2093 | 2094 | ## v1.3.4 - 2017-08-09 2095 | 2096 | * Log to syslog instead of file #23 [Akis Kesoglou] 2097 | 2098 | ## v1.3.3 - 2017-08-02 2099 | 2100 | * Added PR template [Akis Kesoglou] 2101 | 2102 | ## v1.3.2 - 2017-07-17 2103 | 2104 | * Bump nginx version to 1.12.1 to fix CVE-2017-7529 [Gergely Imreh] 2105 | 2106 | ## v1.3.1 - 2017-05-17 2107 | 2108 | * Docker registry 2.6.1 requires v4auth to be true on s3. [Pagan Gazzard] 2109 | 2110 | ## v1.3.0 - 2017-05-17 2111 | 2112 | * Update registry to 2.6.1 [Pagan Gazzard] 2113 | 2114 | ## v1.2.0 - 2017-05-16 2115 | 2116 | * Update nginx to 1.12.0 [Pagan Gazzard] 2117 | 2118 | ## v1.1.0 - 2017-04-20 2119 | 2120 | * Enable token authentication [Akis Kesoglou] 2121 | 2122 | ## v1.0.0 - 2017-03-22 2123 | 2124 | * Limit nginx server information disclosing [External] [Kostas] 2125 | * Updated to nginx 1.10.2 [Internal] [Page] 2126 | * Updated registry to v2.5.0 [Internal] [Page] 2127 | 2128 | # 2016-06-24 (f271229) 2129 | 2130 | * Updated registry to v2.4.1 [Internal] [Page] 2131 | 2132 | # 2016-05-10 2133 | 2134 | * Updated to nginx 1.10.0 [Internal] [Page] 2135 | * Updated resin-base to v2 [Internal] [Page] 2136 | 2137 | # 2016-04-21 2138 | 2139 | * Updated registry to v2.4.0 [Internal] [Page] 2140 | 2141 | # 2016-03-29 2142 | 2143 | * Disabled S3 v4 auth as it sometimes returned a 500 error. [Internal] [Petros] 2144 | 2145 | # 2016-03-18 2146 | 2147 | * Updated registry to v2.3.1 [Internal] [Page] 2148 | 2149 | # 2016-03-08 2150 | 2151 | * Updated to registry 2.3.0 [Internal] [Page] 2152 | 2153 | # 2016-02-19 2154 | 2155 | * Switched to docker registry v2 [External] [Page] 2156 | 2157 | # 2015-01-27 2158 | 2159 | * Add docker-registry PR 961 as a patch file. [Internal] [Aleksis] 2160 | * Added `proxy_set_header Authorization ""` and `proxy_read_timeout 900` [Internal] [Petros] 2161 | 2162 | # 2015-01-18 2163 | 2164 | * Updated to the new resin-base. [Internal] [Page] 2165 | 2166 | # 2015-12-01 2167 | 2168 | * Disabled registry redirects so docker clients >= 1.7 can pull. [External] [Page] 2169 | * Switched to a purely etcd backed confd. [Internal] [Page] 2170 | 2171 | # 2015-10-19 2172 | 2173 | * Set up caching for the docker registry to improve performance. [External] [Page] 2174 | * Fixed an rsyslogd infinite restart loop when there is no logentries token. [Internal] [Page] 2175 | 2176 | # 2015-08-18 2177 | 2178 | * Always restart the service if it exits. [Aleksis] 2179 | * Try to populate the docker cache before building. [Page] 2180 | * Switched to using a tagged version of resin-base. [Page] 2181 | 2182 | # 2015-07-29 2183 | 2184 | * Switched logentries to TLS. [Petros] 2185 | 2186 | # 2015-06-29 2187 | 2188 | * Changed to support newer resin-base with confd 0.10.0 [Page] 2189 | 2190 | # 2015-06-10 2191 | 2192 | * Use authentication for pushes [petrosagg] 2193 | 2194 | # 2015-09-21 2195 | 2196 | * Fix production config [Petros] 2197 | 2198 | # 2015-09-19 2199 | 2200 | * Switched to a systemd base image [Petros] 2201 | * Updated to registry v0.9.1 [Petros] 2202 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM balena/open-balena-base:18.0.33-no-systemd 2 | 3 | ARG REGISTRY_VERSION=3.0.0 4 | ARG REGISTRY_SHA256_amd64=61c9a2c0d5981a78482025b6b69728521fbc78506d68b223d4a2eb825de5ca3d 5 | ARG REGISTRY_SHA256_arm64=6c2ee1d135626fa42e0d6fb66a0e0f42e22439e5050087d04f4c5ff53655892e 6 | ENV OTEL_TRACES_EXPORTER=none 7 | 8 | SHELL ["/bin/bash", "-o", "pipefail", "-c"] 9 | 10 | RUN asset="registry_${REGISTRY_VERSION}_linux_$(dpkg --print-architecture).tar.gz" && \ 11 | sha256="REGISTRY_SHA256_$(dpkg --print-architecture)" && \ 12 | curl -fsSL -O "https://github.com/distribution/distribution/releases/download/v${REGISTRY_VERSION}/${asset}" && \ 13 | echo "${!sha256} ${asset}" | sha256sum -c - && \ 14 | tar xz -f "${asset}" && \ 15 | mv registry /usr/local/bin/docker-registry && \ 16 | rm "${asset}" 17 | 18 | COPY . /usr/src/app 19 | 20 | # The ENTRYPOINT inherited from open-balena-base:no-systemd is "/usr/bin/confd-entry.sh" 21 | # so we need to pass our own entrypoint as the CMD 22 | CMD [ "/usr/src/app/entry.sh" ] 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU AFFERO GENERAL PUBLIC LICENSE 2 | Version 3, 19 November 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU Affero General Public License is a free, copyleft license for 11 | software and other kinds of works, specifically designed to ensure 12 | cooperation with the community in the case of network server software. 13 | 14 | The licenses for most software and other practical works are designed 15 | to take away your freedom to share and change the works. By contrast, 16 | our General Public Licenses are intended to guarantee your freedom to 17 | share and change all versions of a program--to make sure it remains free 18 | software for all its users. 19 | 20 | When we speak of free software, we are referring to freedom, not 21 | price. Our General Public Licenses are designed to make sure that you 22 | have the freedom to distribute copies of free software (and charge for 23 | them if you wish), that you receive source code or can get it if you 24 | want it, that you can change the software or use pieces of it in new 25 | free programs, and that you know you can do these things. 26 | 27 | Developers that use our General Public Licenses protect your rights 28 | with two steps: (1) assert copyright on the software, and (2) offer 29 | you this License which gives you legal permission to copy, distribute 30 | and/or modify the software. 31 | 32 | A secondary benefit of defending all users' freedom is that 33 | improvements made in alternate versions of the program, if they 34 | receive widespread use, become available for other developers to 35 | incorporate. Many developers of free software are heartened and 36 | encouraged by the resulting cooperation. However, in the case of 37 | software used on network servers, this result may fail to come about. 38 | The GNU General Public License permits making a modified version and 39 | letting the public access it on a server without ever releasing its 40 | source code to the public. 41 | 42 | The GNU Affero General Public License is designed specifically to 43 | ensure that, in such cases, the modified source code becomes available 44 | to the community. It requires the operator of a network server to 45 | provide the source code of the modified version running there to the 46 | users of that server. Therefore, public use of a modified version, on 47 | a publicly accessible server, gives the public access to the source 48 | code of the modified version. 49 | 50 | An older license, called the Affero General Public License and 51 | published by Affero, was designed to accomplish similar goals. This is 52 | a different license, not a version of the Affero GPL, but Affero has 53 | released a new version of the Affero GPL which permits relicensing under 54 | this license. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | TERMS AND CONDITIONS 60 | 61 | 0. Definitions. 62 | 63 | "This License" refers to version 3 of the GNU Affero General Public License. 64 | 65 | "Copyright" also means copyright-like laws that apply to other kinds of 66 | works, such as semiconductor masks. 67 | 68 | "The Program" refers to any copyrightable work licensed under this 69 | License. Each licensee is addressed as "you". "Licensees" and 70 | "recipients" may be individuals or organizations. 71 | 72 | To "modify" a work means to copy from or adapt all or part of the work 73 | in a fashion requiring copyright permission, other than the making of an 74 | exact copy. The resulting work is called a "modified version" of the 75 | earlier work or a work "based on" the earlier work. 76 | 77 | A "covered work" means either the unmodified Program or a work based 78 | on the Program. 79 | 80 | To "propagate" a work means to do anything with it that, without 81 | permission, would make you directly or secondarily liable for 82 | infringement under applicable copyright law, except executing it on a 83 | computer or modifying a private copy. Propagation includes copying, 84 | distribution (with or without modification), making available to the 85 | public, and in some countries other activities as well. 86 | 87 | To "convey" a work means any kind of propagation that enables other 88 | parties to make or receive copies. Mere interaction with a user through 89 | a computer network, with no transfer of a copy, is not conveying. 90 | 91 | An interactive user interface displays "Appropriate Legal Notices" 92 | to the extent that it includes a convenient and prominently visible 93 | feature that (1) displays an appropriate copyright notice, and (2) 94 | tells the user that there is no warranty for the work (except to the 95 | extent that warranties are provided), that licensees may convey the 96 | work under this License, and how to view a copy of this License. If 97 | the interface presents a list of user commands or options, such as a 98 | menu, a prominent item in the list meets this criterion. 99 | 100 | 1. Source Code. 101 | 102 | The "source code" for a work means the preferred form of the work 103 | for making modifications to it. "Object code" means any non-source 104 | form of a work. 105 | 106 | A "Standard Interface" means an interface that either is an official 107 | standard defined by a recognized standards body, or, in the case of 108 | interfaces specified for a particular programming language, one that 109 | is widely used among developers working in that language. 110 | 111 | The "System Libraries" of an executable work include anything, other 112 | than the work as a whole, that (a) is included in the normal form of 113 | packaging a Major Component, but which is not part of that Major 114 | Component, and (b) serves only to enable use of the work with that 115 | Major Component, or to implement a Standard Interface for which an 116 | implementation is available to the public in source code form. A 117 | "Major Component", in this context, means a major essential component 118 | (kernel, window system, and so on) of the specific operating system 119 | (if any) on which the executable work runs, or a compiler used to 120 | produce the work, or an object code interpreter used to run it. 121 | 122 | The "Corresponding Source" for a work in object code form means all 123 | the source code needed to generate, install, and (for an executable 124 | work) run the object code and to modify the work, including scripts to 125 | control those activities. However, it does not include the work's 126 | System Libraries, or general-purpose tools or generally available free 127 | programs which are used unmodified in performing those activities but 128 | which are not part of the work. For example, Corresponding Source 129 | includes interface definition files associated with source files for 130 | the work, and the source code for shared libraries and dynamically 131 | linked subprograms that the work is specifically designed to require, 132 | such as by intimate data communication or control flow between those 133 | subprograms and other parts of the work. 134 | 135 | The Corresponding Source need not include anything that users 136 | can regenerate automatically from other parts of the Corresponding 137 | Source. 138 | 139 | The Corresponding Source for a work in source code form is that 140 | same work. 141 | 142 | 2. Basic Permissions. 143 | 144 | All rights granted under this License are granted for the term of 145 | copyright on the Program, and are irrevocable provided the stated 146 | conditions are met. This License explicitly affirms your unlimited 147 | permission to run the unmodified Program. The output from running a 148 | covered work is covered by this License only if the output, given its 149 | content, constitutes a covered work. This License acknowledges your 150 | rights of fair use or other equivalent, as provided by copyright law. 151 | 152 | You may make, run and propagate covered works that you do not 153 | convey, without conditions so long as your license otherwise remains 154 | in force. You may convey covered works to others for the sole purpose 155 | of having them make modifications exclusively for you, or provide you 156 | with facilities for running those works, provided that you comply with 157 | the terms of this License in conveying all material for which you do 158 | not control copyright. Those thus making or running the covered works 159 | for you must do so exclusively on your behalf, under your direction 160 | and control, on terms that prohibit them from making any copies of 161 | your copyrighted material outside their relationship with you. 162 | 163 | Conveying under any other circumstances is permitted solely under 164 | the conditions stated below. Sublicensing is not allowed; section 10 165 | makes it unnecessary. 166 | 167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 | 169 | No covered work shall be deemed part of an effective technological 170 | measure under any applicable law fulfilling obligations under article 171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 | similar laws prohibiting or restricting circumvention of such 173 | measures. 174 | 175 | When you convey a covered work, you waive any legal power to forbid 176 | circumvention of technological measures to the extent such circumvention 177 | is effected by exercising rights under this License with respect to 178 | the covered work, and you disclaim any intention to limit operation or 179 | modification of the work as a means of enforcing, against the work's 180 | users, your or third parties' legal rights to forbid circumvention of 181 | technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you 186 | receive it, in any medium, provided that you conspicuously and 187 | appropriately publish on each copy an appropriate copyright notice; 188 | keep intact all notices stating that this License and any 189 | non-permissive terms added in accord with section 7 apply to the code; 190 | keep intact all notices of the absence of any warranty; and give all 191 | recipients a copy of this License along with the Program. 192 | 193 | You may charge any price or no price for each copy that you convey, 194 | and you may offer support or warranty protection for a fee. 195 | 196 | 5. Conveying Modified Source Versions. 197 | 198 | You may convey a work based on the Program, or the modifications to 199 | produce it from the Program, in the form of source code under the 200 | terms of section 4, provided that you also meet all of these conditions: 201 | 202 | a) The work must carry prominent notices stating that you modified 203 | it, and giving a relevant date. 204 | 205 | b) The work must carry prominent notices stating that it is 206 | released under this License and any conditions added under section 207 | 7. This requirement modifies the requirement in section 4 to 208 | "keep intact all notices". 209 | 210 | c) You must license the entire work, as a whole, under this 211 | License to anyone who comes into possession of a copy. This 212 | License will therefore apply, along with any applicable section 7 213 | additional terms, to the whole of the work, and all its parts, 214 | regardless of how they are packaged. This License gives no 215 | permission to license the work in any other way, but it does not 216 | invalidate such permission if you have separately received it. 217 | 218 | d) If the work has interactive user interfaces, each must display 219 | Appropriate Legal Notices; however, if the Program has interactive 220 | interfaces that do not display Appropriate Legal Notices, your 221 | work need not make them do so. 222 | 223 | A compilation of a covered work with other separate and independent 224 | works, which are not by their nature extensions of the covered work, 225 | and which are not combined with it such as to form a larger program, 226 | in or on a volume of a storage or distribution medium, is called an 227 | "aggregate" if the compilation and its resulting copyright are not 228 | used to limit the access or legal rights of the compilation's users 229 | beyond what the individual works permit. Inclusion of a covered work 230 | in an aggregate does not cause this License to apply to the other 231 | parts of the aggregate. 232 | 233 | 6. Conveying Non-Source Forms. 234 | 235 | You may convey a covered work in object code form under the terms 236 | of sections 4 and 5, provided that you also convey the 237 | machine-readable Corresponding Source under the terms of this License, 238 | in one of these ways: 239 | 240 | a) Convey the object code in, or embodied in, a physical product 241 | (including a physical distribution medium), accompanied by the 242 | Corresponding Source fixed on a durable physical medium 243 | customarily used for software interchange. 244 | 245 | b) Convey the object code in, or embodied in, a physical product 246 | (including a physical distribution medium), accompanied by a 247 | written offer, valid for at least three years and valid for as 248 | long as you offer spare parts or customer support for that product 249 | model, to give anyone who possesses the object code either (1) a 250 | copy of the Corresponding Source for all the software in the 251 | product that is covered by this License, on a durable physical 252 | medium customarily used for software interchange, for a price no 253 | more than your reasonable cost of physically performing this 254 | conveying of source, or (2) access to copy the 255 | Corresponding Source from a network server at no charge. 256 | 257 | c) Convey individual copies of the object code with a copy of the 258 | written offer to provide the Corresponding Source. This 259 | alternative is allowed only occasionally and noncommercially, and 260 | only if you received the object code with such an offer, in accord 261 | with subsection 6b. 262 | 263 | d) Convey the object code by offering access from a designated 264 | place (gratis or for a charge), and offer equivalent access to the 265 | Corresponding Source in the same way through the same place at no 266 | further charge. You need not require recipients to copy the 267 | Corresponding Source along with the object code. If the place to 268 | copy the object code is a network server, the Corresponding Source 269 | may be on a different server (operated by you or a third party) 270 | that supports equivalent copying facilities, provided you maintain 271 | clear directions next to the object code saying where to find the 272 | Corresponding Source. Regardless of what server hosts the 273 | Corresponding Source, you remain obligated to ensure that it is 274 | available for as long as needed to satisfy these requirements. 275 | 276 | e) Convey the object code using peer-to-peer transmission, provided 277 | you inform other peers where the object code and Corresponding 278 | Source of the work are being offered to the general public at no 279 | charge under subsection 6d. 280 | 281 | A separable portion of the object code, whose source code is excluded 282 | from the Corresponding Source as a System Library, need not be 283 | included in conveying the object code work. 284 | 285 | A "User Product" is either (1) a "consumer product", which means any 286 | tangible personal property which is normally used for personal, family, 287 | or household purposes, or (2) anything designed or sold for incorporation 288 | into a dwelling. In determining whether a product is a consumer product, 289 | doubtful cases shall be resolved in favor of coverage. For a particular 290 | product received by a particular user, "normally used" refers to a 291 | typical or common use of that class of product, regardless of the status 292 | of the particular user or of the way in which the particular user 293 | actually uses, or expects or is expected to use, the product. A product 294 | is a consumer product regardless of whether the product has substantial 295 | commercial, industrial or non-consumer uses, unless such uses represent 296 | the only significant mode of use of the product. 297 | 298 | "Installation Information" for a User Product means any methods, 299 | procedures, authorization keys, or other information required to install 300 | and execute modified versions of a covered work in that User Product from 301 | a modified version of its Corresponding Source. The information must 302 | suffice to ensure that the continued functioning of the modified object 303 | code is in no case prevented or interfered with solely because 304 | modification has been made. 305 | 306 | If you convey an object code work under this section in, or with, or 307 | specifically for use in, a User Product, and the conveying occurs as 308 | part of a transaction in which the right of possession and use of the 309 | User Product is transferred to the recipient in perpetuity or for a 310 | fixed term (regardless of how the transaction is characterized), the 311 | Corresponding Source conveyed under this section must be accompanied 312 | by the Installation Information. But this requirement does not apply 313 | if neither you nor any third party retains the ability to install 314 | modified object code on the User Product (for example, the work has 315 | been installed in ROM). 316 | 317 | The requirement to provide Installation Information does not include a 318 | requirement to continue to provide support service, warranty, or updates 319 | for a work that has been modified or installed by the recipient, or for 320 | the User Product in which it has been modified or installed. Access to a 321 | network may be denied when the modification itself materially and 322 | adversely affects the operation of the network or violates the rules and 323 | protocols for communication across the network. 324 | 325 | Corresponding Source conveyed, and Installation Information provided, 326 | in accord with this section must be in a format that is publicly 327 | documented (and with an implementation available to the public in 328 | source code form), and must require no special password or key for 329 | unpacking, reading or copying. 330 | 331 | 7. Additional Terms. 332 | 333 | "Additional permissions" are terms that supplement the terms of this 334 | License by making exceptions from one or more of its conditions. 335 | Additional permissions that are applicable to the entire Program shall 336 | be treated as though they were included in this License, to the extent 337 | that they are valid under applicable law. If additional permissions 338 | apply only to part of the Program, that part may be used separately 339 | under those permissions, but the entire Program remains governed by 340 | this License without regard to the additional permissions. 341 | 342 | When you convey a copy of a covered work, you may at your option 343 | remove any additional permissions from that copy, or from any part of 344 | it. (Additional permissions may be written to require their own 345 | removal in certain cases when you modify the work.) You may place 346 | additional permissions on material, added by you to a covered work, 347 | for which you have or can give appropriate copyright permission. 348 | 349 | Notwithstanding any other provision of this License, for material you 350 | add to a covered work, you may (if authorized by the copyright holders of 351 | that material) supplement the terms of this License with terms: 352 | 353 | a) Disclaiming warranty or limiting liability differently from the 354 | terms of sections 15 and 16 of this License; or 355 | 356 | b) Requiring preservation of specified reasonable legal notices or 357 | author attributions in that material or in the Appropriate Legal 358 | Notices displayed by works containing it; or 359 | 360 | c) Prohibiting misrepresentation of the origin of that material, or 361 | requiring that modified versions of such material be marked in 362 | reasonable ways as different from the original version; or 363 | 364 | d) Limiting the use for publicity purposes of names of licensors or 365 | authors of the material; or 366 | 367 | e) Declining to grant rights under trademark law for use of some 368 | trade names, trademarks, or service marks; or 369 | 370 | f) Requiring indemnification of licensors and authors of that 371 | material by anyone who conveys the material (or modified versions of 372 | it) with contractual assumptions of liability to the recipient, for 373 | any liability that these contractual assumptions directly impose on 374 | those licensors and authors. 375 | 376 | All other non-permissive additional terms are considered "further 377 | restrictions" within the meaning of section 10. If the Program as you 378 | received it, or any part of it, contains a notice stating that it is 379 | governed by this License along with a term that is a further 380 | restriction, you may remove that term. If a license document contains 381 | a further restriction but permits relicensing or conveying under this 382 | License, you may add to a covered work material governed by the terms 383 | of that license document, provided that the further restriction does 384 | not survive such relicensing or conveying. 385 | 386 | If you add terms to a covered work in accord with this section, you 387 | must place, in the relevant source files, a statement of the 388 | additional terms that apply to those files, or a notice indicating 389 | where to find the applicable terms. 390 | 391 | Additional terms, permissive or non-permissive, may be stated in the 392 | form of a separately written license, or stated as exceptions; 393 | the above requirements apply either way. 394 | 395 | 8. Termination. 396 | 397 | You may not propagate or modify a covered work except as expressly 398 | provided under this License. Any attempt otherwise to propagate or 399 | modify it is void, and will automatically terminate your rights under 400 | this License (including any patent licenses granted under the third 401 | paragraph of section 11). 402 | 403 | However, if you cease all violation of this License, then your 404 | license from a particular copyright holder is reinstated (a) 405 | provisionally, unless and until the copyright holder explicitly and 406 | finally terminates your license, and (b) permanently, if the copyright 407 | holder fails to notify you of the violation by some reasonable means 408 | prior to 60 days after the cessation. 409 | 410 | Moreover, your license from a particular copyright holder is 411 | reinstated permanently if the copyright holder notifies you of the 412 | violation by some reasonable means, this is the first time you have 413 | received notice of violation of this License (for any work) from that 414 | copyright holder, and you cure the violation prior to 30 days after 415 | your receipt of the notice. 416 | 417 | Termination of your rights under this section does not terminate the 418 | licenses of parties who have received copies or rights from you under 419 | this License. If your rights have been terminated and not permanently 420 | reinstated, you do not qualify to receive new licenses for the same 421 | material under section 10. 422 | 423 | 9. Acceptance Not Required for Having Copies. 424 | 425 | You are not required to accept this License in order to receive or 426 | run a copy of the Program. Ancillary propagation of a covered work 427 | occurring solely as a consequence of using peer-to-peer transmission 428 | to receive a copy likewise does not require acceptance. However, 429 | nothing other than this License grants you permission to propagate or 430 | modify any covered work. These actions infringe copyright if you do 431 | not accept this License. Therefore, by modifying or propagating a 432 | covered work, you indicate your acceptance of this License to do so. 433 | 434 | 10. Automatic Licensing of Downstream Recipients. 435 | 436 | Each time you convey a covered work, the recipient automatically 437 | receives a license from the original licensors, to run, modify and 438 | propagate that work, subject to this License. You are not responsible 439 | for enforcing compliance by third parties with this License. 440 | 441 | An "entity transaction" is a transaction transferring control of an 442 | organization, or substantially all assets of one, or subdividing an 443 | organization, or merging organizations. If propagation of a covered 444 | work results from an entity transaction, each party to that 445 | transaction who receives a copy of the work also receives whatever 446 | licenses to the work the party's predecessor in interest had or could 447 | give under the previous paragraph, plus a right to possession of the 448 | Corresponding Source of the work from the predecessor in interest, if 449 | the predecessor has it or can get it with reasonable efforts. 450 | 451 | You may not impose any further restrictions on the exercise of the 452 | rights granted or affirmed under this License. For example, you may 453 | not impose a license fee, royalty, or other charge for exercise of 454 | rights granted under this License, and you may not initiate litigation 455 | (including a cross-claim or counterclaim in a lawsuit) alleging that 456 | any patent claim is infringed by making, using, selling, offering for 457 | sale, or importing the Program or any portion of it. 458 | 459 | 11. Patents. 460 | 461 | A "contributor" is a copyright holder who authorizes use under this 462 | License of the Program or a work on which the Program is based. The 463 | work thus licensed is called the contributor's "contributor version". 464 | 465 | A contributor's "essential patent claims" are all patent claims 466 | owned or controlled by the contributor, whether already acquired or 467 | hereafter acquired, that would be infringed by some manner, permitted 468 | by this License, of making, using, or selling its contributor version, 469 | but do not include claims that would be infringed only as a 470 | consequence of further modification of the contributor version. For 471 | purposes of this definition, "control" includes the right to grant 472 | patent sublicenses in a manner consistent with the requirements of 473 | this License. 474 | 475 | Each contributor grants you a non-exclusive, worldwide, royalty-free 476 | patent license under the contributor's essential patent claims, to 477 | make, use, sell, offer for sale, import and otherwise run, modify and 478 | propagate the contents of its contributor version. 479 | 480 | In the following three paragraphs, a "patent license" is any express 481 | agreement or commitment, however denominated, not to enforce a patent 482 | (such as an express permission to practice a patent or covenant not to 483 | sue for patent infringement). To "grant" such a patent license to a 484 | party means to make such an agreement or commitment not to enforce a 485 | patent against the party. 486 | 487 | If you convey a covered work, knowingly relying on a patent license, 488 | and the Corresponding Source of the work is not available for anyone 489 | to copy, free of charge and under the terms of this License, through a 490 | publicly available network server or other readily accessible means, 491 | then you must either (1) cause the Corresponding Source to be so 492 | available, or (2) arrange to deprive yourself of the benefit of the 493 | patent license for this particular work, or (3) arrange, in a manner 494 | consistent with the requirements of this License, to extend the patent 495 | license to downstream recipients. "Knowingly relying" means you have 496 | actual knowledge that, but for the patent license, your conveying the 497 | covered work in a country, or your recipient's use of the covered work 498 | in a country, would infringe one or more identifiable patents in that 499 | country that you have reason to believe are valid. 500 | 501 | If, pursuant to or in connection with a single transaction or 502 | arrangement, you convey, or propagate by procuring conveyance of, a 503 | covered work, and grant a patent license to some of the parties 504 | receiving the covered work authorizing them to use, propagate, modify 505 | or convey a specific copy of the covered work, then the patent license 506 | you grant is automatically extended to all recipients of the covered 507 | work and works based on it. 508 | 509 | A patent license is "discriminatory" if it does not include within 510 | the scope of its coverage, prohibits the exercise of, or is 511 | conditioned on the non-exercise of one or more of the rights that are 512 | specifically granted under this License. You may not convey a covered 513 | work if you are a party to an arrangement with a third party that is 514 | in the business of distributing software, under which you make payment 515 | to the third party based on the extent of your activity of conveying 516 | the work, and under which the third party grants, to any of the 517 | parties who would receive the covered work from you, a discriminatory 518 | patent license (a) in connection with copies of the covered work 519 | conveyed by you (or copies made from those copies), or (b) primarily 520 | for and in connection with specific products or compilations that 521 | contain the covered work, unless you entered into that arrangement, 522 | or that patent license was granted, prior to 28 March 2007. 523 | 524 | Nothing in this License shall be construed as excluding or limiting 525 | any implied license or other defenses to infringement that may 526 | otherwise be available to you under applicable patent law. 527 | 528 | 12. No Surrender of Others' Freedom. 529 | 530 | If conditions are imposed on you (whether by court order, agreement or 531 | otherwise) that contradict the conditions of this License, they do not 532 | excuse you from the conditions of this License. If you cannot convey a 533 | covered work so as to satisfy simultaneously your obligations under this 534 | License and any other pertinent obligations, then as a consequence you may 535 | not convey it at all. For example, if you agree to terms that obligate you 536 | to collect a royalty for further conveying from those to whom you convey 537 | the Program, the only way you could satisfy both those terms and this 538 | License would be to refrain entirely from conveying the Program. 539 | 540 | 13. Remote Network Interaction; Use with the GNU General Public License. 541 | 542 | Notwithstanding any other provision of this License, if you modify the 543 | Program, your modified version must prominently offer all users 544 | interacting with it remotely through a computer network (if your version 545 | supports such interaction) an opportunity to receive the Corresponding 546 | Source of your version by providing access to the Corresponding Source 547 | from a network server at no charge, through some standard or customary 548 | means of facilitating copying of software. This Corresponding Source 549 | shall include the Corresponding Source for any work covered by version 3 550 | of the GNU General Public License that is incorporated pursuant to the 551 | following paragraph. 552 | 553 | Notwithstanding any other provision of this License, you have 554 | permission to link or combine any covered work with a work licensed 555 | under version 3 of the GNU General Public License into a single 556 | combined work, and to convey the resulting work. The terms of this 557 | License will continue to apply to the part which is the covered work, 558 | but the work with which it is combined will remain governed by version 559 | 3 of the GNU General Public License. 560 | 561 | 14. Revised Versions of this License. 562 | 563 | The Free Software Foundation may publish revised and/or new versions of 564 | the GNU Affero General Public License from time to time. Such new versions 565 | will be similar in spirit to the present version, but may differ in detail to 566 | address new problems or concerns. 567 | 568 | Each version is given a distinguishing version number. If the 569 | Program specifies that a certain numbered version of the GNU Affero General 570 | Public License "or any later version" applies to it, you have the 571 | option of following the terms and conditions either of that numbered 572 | version or of any later version published by the Free Software 573 | Foundation. If the Program does not specify a version number of the 574 | GNU Affero General Public License, you may choose any version ever published 575 | by the Free Software Foundation. 576 | 577 | If the Program specifies that a proxy can decide which future 578 | versions of the GNU Affero General Public License can be used, that proxy's 579 | public statement of acceptance of a version permanently authorizes you 580 | to choose that version for the Program. 581 | 582 | Later license versions may give you additional or different 583 | permissions. However, no additional obligations are imposed on any 584 | author or copyright holder as a result of your choosing to follow a 585 | later version. 586 | 587 | 15. Disclaimer of Warranty. 588 | 589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 | 598 | 16. Limitation of Liability. 599 | 600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 | SUCH DAMAGES. 609 | 610 | 17. Interpretation of Sections 15 and 16. 611 | 612 | If the disclaimer of warranty and limitation of liability provided 613 | above cannot be given local legal effect according to their terms, 614 | reviewing courts shall apply local law that most closely approximates 615 | an absolute waiver of all civil liability in connection with the 616 | Program, unless a warranty or assumption of liability accompanies a 617 | copy of the Program in return for a fee. 618 | 619 | END OF TERMS AND CONDITIONS 620 | 621 | How to Apply These Terms to Your New Programs 622 | 623 | If you develop a new program, and you want it to be of the greatest 624 | possible use to the public, the best way to achieve this is to make it 625 | free software which everyone can redistribute and change under these terms. 626 | 627 | To do so, attach the following notices to the program. It is safest 628 | to attach them to the start of each source file to most effectively 629 | state the exclusion of warranty; and each file should have at least 630 | the "copyright" line and a pointer to where the full notice is found. 631 | 632 | 633 | Copyright (C) 634 | 635 | This program is free software: you can redistribute it and/or modify 636 | it under the terms of the GNU Affero General Public License as published 637 | by the Free Software Foundation, either version 3 of the License, or 638 | (at your option) any later version. 639 | 640 | This program is distributed in the hope that it will be useful, 641 | but WITHOUT ANY WARRANTY; without even the implied warranty of 642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 | GNU Affero General Public License for more details. 644 | 645 | You should have received a copy of the GNU Affero General Public License 646 | along with this program. If not, see . 647 | 648 | Also add information on how to contact you by electronic and paper mail. 649 | 650 | If your software can interact with users remotely through a computer 651 | network, you should also make sure that it provides a way for users to 652 | get its source. For example, if your program is a web application, its 653 | interface could display a "Source" link that leads users to an archive 654 | of the code. There are many ways you could offer source, and different 655 | solutions will be better for different programs; see section 13 for the 656 | specific requirements. 657 | 658 | You should also get your employer (if you work as a programmer) or school, 659 | if any, to sign a "copyright disclaimer" for the program, if necessary. 660 | For more information on this, and how to apply and follow the GNU AGPL, see 661 | . 662 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balena-io/open-balena-registry/5672e4658634866de34929f927d566833e763ba8/README.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 3.0.7 -------------------------------------------------------------------------------- /config/confd/conf.d/cloudfront-pk.pem.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "cloudfront-pk.pem.tmpl" 3 | dest = "/etc/ssl/private/cloudfront-pk.pem" 4 | keys = [ 5 | "REGISTRY2_S3_CLOUDFRONT_PRIVATEKEY", 6 | ] 7 | mode = "0400" 8 | -------------------------------------------------------------------------------- /config/confd/conf.d/docker-registry.yml.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "docker-registry.yml.tmpl" 3 | dest = "/etc/docker-registry.yml" 4 | keys = [] 5 | -------------------------------------------------------------------------------- /config/confd/conf.d/env.toml: -------------------------------------------------------------------------------- 1 | [template] 2 | src = "env.tmpl" 3 | dest = "/usr/src/app/config/env" 4 | keys = [ 5 | "API_TOKENAUTH_CRT", 6 | "CERT_FILE" 7 | ] 8 | -------------------------------------------------------------------------------- /config/confd/templates/cloudfront-pk.pem.tmpl: -------------------------------------------------------------------------------- 1 | {{base64Decode (getenv "REGISTRY2_S3_CLOUDFRONT_PRIVATEKEY" "") }} 2 | -------------------------------------------------------------------------------- /config/confd/templates/docker-registry.yml.tmpl: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | log: 3 | level: {{getenv "REGISTRY2_LOG_LEVEL" "error"}} 4 | http: 5 | addr: :80 6 | host: https://{{getenv "REGISTRY2_HOST"}} 7 | secret: {{getenv "REGISTRY2_SECRETKEY"}} 8 | headers: 9 | X-Content-Type-Options: [nosniff] 10 | {{if eq (getenv "REGISTRY2_DEBUG_ENABLED" "false") "true"}} 11 | debug: 12 | addr: :81 13 | prometheus: 14 | enabled: true 15 | path: /metrics 16 | {{end}} 17 | 18 | {{if eq (getenv "REGISTRY2_PROXY_ENABLED" "false") "true"}} 19 | proxy: 20 | remoteurl: {{getenv "REGISTRY2_PROXY_REMOTE_URL" "https://registry-1.docker.io"}} 21 | username: {{getenv "REGISTRY2_PROXY_USERNAME"}} 22 | password: {{getenv "REGISTRY2_PROXY_PASSWORD"}} 23 | {{else}} 24 | auth: 25 | token: 26 | service: {{getenv "REGISTRY2_HOST"}} 27 | realm: {{getenv "REGISTRY2_TOKEN_AUTH_REALM"}} 28 | issuer: {{getenv "REGISTRY2_TOKEN_AUTH_ISSUER"}} 29 | rootcertbundle: /tmp/registry-tokenauth.crt 30 | {{end}} 31 | 32 | storage: 33 | {{if eq (getenv "REGISTRY2_DISABLE_REDIRECT" "false") "true"}} 34 | redirect: 35 | disable: true 36 | {{end}} 37 | {{if eq (getenv "REGISTRY2_CACHE_ENABLED" "false") "true"}} 38 | cache: 39 | blobdescriptor: redis 40 | {{end}} 41 | {{if eq (getenv "REGISTRY2_PROXY_ENABLED" "false") "true"}} 42 | delete: 43 | enabled: true 44 | {{end}} 45 | {{if eq (getenv "REGISTRY2_DISABLE_UPLOAD_PURGING" "false") "true"}} 46 | maintenance: 47 | uploadpurging: 48 | enabled: false 49 | {{end}} 50 | 51 | # https://github.com/distribution/distribution/blob/main/docs/content/storage-drivers/s3.md#parameters 52 | {{if getenv "REGISTRY2_S3_BUCKET"}} 53 | s3: 54 | accesskey: {{getenv "REGISTRY2_S3_KEY"}} 55 | secretkey: {{getenv "REGISTRY2_S3_SECRET"}} 56 | region: {{getenv "COMMON_REGION"}} 57 | {{if getenv "REGISTRY2_S3_REGION_ENDPOINT"}} 58 | regionendpoint: {{getenv "REGISTRY2_S3_REGION_ENDPOINT"}} 59 | {{end}} 60 | {{if eq (getenv "REGISTRY2_S3_DUALSTACK" "false") "true"}} 61 | usedualstack: true 62 | {{end}} 63 | bucket: {{getenv "REGISTRY2_S3_BUCKET"}} 64 | encrypt: {{getenv "REGISTRY2_S3_ENCRYPT" "false"}} 65 | secure: true 66 | v4auth: true 67 | rootdirectory: {{getenv "REGISTRY2_STORAGEPATH"}} 68 | {{if getenv "REGISTRY2_S3_ACCELERATE"}}accelerate: {{getenv "REGISTRY2_S3_ACCELERATE"}}{{end}} 69 | {{if getenv "REGISTRY2_S3_FORCEPATHSTYLE"}}forcepathstyle: {{getenv "REGISTRY2_S3_FORCEPATHSTYLE"}}{{end}} 70 | {{if getenv "REGISTRY2_S3_CHUNK_SIZE"}}chunksize: {{getenv "REGISTRY2_S3_CHUNK_SIZE"}}{{end}} 71 | {{if getenv "REGISTRY2_S3_MULTIPART_COPY_CHUNKSIZE"}}multipartcopychunksize: {{getenv "REGISTRY2_S3_MULTIPART_COPY_CHUNKSIZE"}}{{end}} 72 | {{if getenv "REGISTRY2_S3_MULTIPART_COPY_MAX_CONCURRENCY"}}multipartcopymaxconcurrency: {{getenv "REGISTRY2_S3_MULTIPART_COPY_MAX_CONCURRENCY"}}{{end}} 73 | {{if getenv "REGISTRY2_S3_MULTIPART_COPY_THRESHOLD_SIZE"}}multipartcopythresholdsize: {{getenv "REGISTRY2_S3_MULTIPART_COPY_THRESHOLD_SIZE"}}{{end}} 74 | {{if getenv "REGISTRY2_S3_STORAGE_CLASS"}}storageclass: {{getenv "REGISTRY2_S3_STORAGE_CLASS"}}{{end}} 75 | {{else}} 76 | filesystem: 77 | rootdirectory: {{getenv "REGISTRY2_STORAGEPATH"}} 78 | {{end}} 79 | 80 | {{if getenv "REGISTRY2_S3_CLOUDFRONT_ENDPOINT"}} 81 | middleware: 82 | storage: 83 | - name: cloudfront 84 | options: 85 | ipfilteredby: aws 86 | baseurl: https://{{getenv "REGISTRY2_S3_CLOUDFRONT_ENDPOINT"}}/ 87 | privatekey: /etc/ssl/private/cloudfront-pk.pem 88 | keypairid: {{getenv "REGISTRY2_S3_CLOUDFRONT_KEYPAIR_ID"}} 89 | {{end}} 90 | 91 | {{if eq (getenv "REGISTRY2_CACHE_ENABLED" "false") "true"}} 92 | redis: 93 | addrs: [{{getenv "REGISTRY2_CACHE_ADDR" "127.0.0.1:6379"}}] 94 | db: {{getenv "REGISTRY2_CACHE_DB" "0"}} 95 | maxidleconns: {{getenv "REGISTRY2_CACHE_MAX_IDLE" "256"}} 96 | poolsize: {{getenv "REGISTRY2_CACHE_MAX_ACTIVE" "1024"}} 97 | connmaxidletime: {{getenv "REGISTRY2_CACHE_IDLE_TIMEOUT" "300s"}} 98 | {{end}} 99 | -------------------------------------------------------------------------------- /config/confd/templates/env.tmpl: -------------------------------------------------------------------------------- 1 | TOKEN_AUTH_ROOTCERTBUNDLE="{{getenv "API_TOKENAUTH_CRT"}}" 2 | CERT_FILE="/tmp/registry-tokenauth.crt" 3 | -------------------------------------------------------------------------------- /docker-bake.hcl: -------------------------------------------------------------------------------- 1 | target "default" { 2 | platforms = [ 3 | "linux/amd64", 4 | "linux/arm64" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /docker-compose.test.yml: -------------------------------------------------------------------------------- 1 | 2 | services: 3 | 4 | # Run a simple registry pull-through cache for testing 5 | registry: 6 | image: sut 7 | environment: 8 | REGISTRY2_PROXY_ENABLED: true 9 | tmpfs: 10 | - /data:exec 11 | 12 | docker: 13 | image: docker:28.2.2-dind 14 | privileged: true 15 | environment: 16 | DOCKER_TLS_CERTDIR: "" 17 | command: --insecure-registry=registry:80 --registry-mirror=http://registry:80 --tls=false --debug 18 | depends_on: 19 | - registry 20 | tmpfs: 21 | - /var/lib/docker:exec 22 | 23 | sut: 24 | image: docker:28.2.2 25 | environment: 26 | DOCKER_HOST: tcp://docker:2375 27 | entrypoint: 28 | - /bin/sh 29 | - -c 30 | command: 31 | - | 32 | apk add --no-cache curl 33 | count=1 34 | while ! docker info 2>/dev/null && [ "$${count}" -le 10 ]; do 35 | sleep 1 36 | count=$$((count + 1)) 37 | done 38 | docker run --rm hello-world 39 | curl -v http://registry:80/v2/_catalog | grep hello-world 40 | depends_on: 41 | - docker 42 | - registry 43 | -------------------------------------------------------------------------------- /docker-hc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -a 4 | 5 | [[ -f /etc/docker.env ]] && source /etc/docker.env 6 | 7 | curl -I --fail localhost || exit $? 8 | 9 | if [[ -s ${NODE_EXTRA_CA_CERTS} ]]; then 10 | true | openssl s_client \ 11 | -connect haproxy:443 \ 12 | -servername "${REGISTRY2_HOST}" \ 13 | -CAfile "${NODE_EXTRA_CA_CERTS}" 14 | else 15 | true | openssl s_client \ 16 | -connect haproxy:443 \ 17 | -servername "${REGISTRY2_HOST}" 18 | fi 19 | -------------------------------------------------------------------------------- /entry.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "${TOKEN_AUTH_ROOTCERTBUNDLE}" | base64 --decode >"${CERT_FILE}" 4 | 5 | exec /usr/local/bin/docker-registry serve /etc/docker-registry.yml 6 | -------------------------------------------------------------------------------- /repo.yml: -------------------------------------------------------------------------------- 1 | type: 'docker' 2 | upstream: 3 | - repo: 'balena/open-balena-base' 4 | url: 'https://github.com/balena-io-modules/open-balena-base' 5 | --------------------------------------------------------------------------------