Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] service is required by service but is disabled #10751

Closed
nmguse-bighealth opened this issue Jun 28, 2023 · 29 comments · Fixed by #10789
Closed

[BUG] service is required by service but is disabled #10751

nmguse-bighealth opened this issue Jun 28, 2023 · 29 comments · Fixed by #10789
Labels

Comments

@nmguse-bighealth
Copy link

Description

v2.19.0 introduced a change that broke a docker compose run command that was working previously (v2.18.1)

The change, I believe, would have come from this PR: #10602

docker compose -p unique_name run --rm --no-deps test black --line-length 150 --check app/ tests/

Error: service postgres is required by test but is disabled. Can be enabled by profiles []

I believe this is roughly all that would be required to reproduce, but I haven't directly tested this as docker mac hasn't updated docker compose yet:

version: "3"
services:
  test:
    profiles:
      - test
    build:
      context: .
    depends_on:
      postgres

  postgres:
    image: postgres:14-alpine

Steps To Reproduce

No response

Compose Version

v2.19.0

Docker Environment

No response

Anything else?

No response

@allanlewis
Copy link

allanlewis commented Jun 29, 2023

I'm working around this by adding these steps to my failing job:

    - name: Log Docker Compose version
      run: docker compose version
    - name: Ensure Docker CLI plugins directory exists
      run: mkdir -pv "${HOME}"/.docker/cli-plugins
    - name: Download working version of Docker Compose
      run: wget -nv -O "${HOME}"/.docker/cli-plugins/docker-compose "${DOCKER_COMPOSE_URL}"
      env:
        DOCKER_COMPOSE_URL: https://github.com/docker/compose/releases/download/v2.18.1/docker-compose-linux-x86_64
    - name: Make Docker Compose binary executable
      run: chmod -v +x "${HOME}"/.docker/cli-plugins/docker-compose
    - name: Assert that the version of Docker Compose is as expected
      run: set -o pipefail && docker compose version | tee /dev/stderr | grep -q 'v2\.18\.1$'

It seems to work, and the download is very fast, presumably because it's all within GitHub.

@jvalecillos
Copy link

jvalecillos commented Jun 29, 2023

I can confirm that the version v2.18.1 works while 2.19.0 shows the issue. Going back to the older version for CI as suggested by @allanlewis solves the issue.

@milas milas self-assigned this Jun 30, 2023
@milas
Copy link
Contributor

milas commented Jun 30, 2023

I'm not able to reproduce this with the example given. (Tweaked slightly to fix syntax errors and not use a local build, I'm launching an container that just does nothing.)

services:
  test:
    profiles:
      - test
    image: busybox
    init: true
    command: ["sleep", "infinity"]
    depends_on:
      - postgres

  postgres:
    image: postgres:14-alpine

If I run test:

$ docker compose run --rm test
[+] Creating 2/2
 ✔ Network dep_default       Created                                                                                                                  0.0s
 ✔ Container dep-postgres-1  Created                                                                                                                  0.0s
[+] Running 1/1
 ✔ Container dep-postgres-1  Started                                                                                                                  0.1s
^C%

With --no-deps:

❯ docker compose run --rm --no-deps test
[+] Creating 1/0
 ✔ Network dep_default  Created                                                                                                                       0.0s
^C%

It also works when I specify --profile=test.

Could someone who is hitting this issue give a different minimal repro?

@GentikSolm
Copy link

GentikSolm commented Jun 30, 2023

Also getting hit with this. Command that is failing is
docker compose run -e --rm -i=false --no-deps chessclub python3 -m black --check --exclude alembic/versions .
with related snippet

version: "3"
services:
...
  chessclub:
    restart: on-failure
    build:
      context: ./api
      target: dev
    depends_on:
      db:
        condition: service_healthy
      cache:
        condition: service_started
    volumes:
        ....
    env_file:
      - .env
    healthcheck:
      test: curl --fail -s http://localhost:8080/api/status || exit 1
      interval: 1s
      timeout: 10s
      retries: 30

  db:
    image: postgres
    restart: on-failure:10
    volumes:
      - pgdata:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: ${POSTGRES_DB}
    healthcheck:
      test: pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}
      interval: 3s
      timeout: 5s
      retries: 10
...

@luord
Copy link

luord commented Jun 30, 2023

It seems like it specifically fails if the service we want to run with no deps has to be built; this repo has a consistently failing minimal project: https://github.com/luord/dc-test

The only change is from image: busybox to build: . and a Dockerfile with only FROM busybox.

On that note, a workaround that seems to work for me that doesn't require reinstalling the previous docker version is building the image before docker run, i.e.:

docker compose build foo
docker compose run --no-deps foo

ysbaddaden added a commit to instedd/cdx that referenced this issue Jul 3, 2023
This is a bug introduced in docker compose v2.19.0:
docker/compose#10751
ysbaddaden added a commit to instedd/cdx that referenced this issue Jul 3, 2023
This is a bug introduced in docker compose v2.19.0:
docker/compose#10751
ysbaddaden added a commit to instedd/cdx that referenced this issue Jul 3, 2023
This is a bug introduced in docker compose v2.19.0:
docker/compose#10751
ysbaddaden added a commit to instedd/cdx that referenced this issue Jul 3, 2023
This is a bug introduced in docker compose v2.19.0:
docker/compose#10751
@nmguse-bighealth
Copy link
Author

nmguse-bighealth commented Jul 6, 2023

Was able to update my local workstation to the latest docker compose and confirm what luord said is the same impact I am seeing. If you use an image, the failure does not seem to occur. I however still encounter this error after running docker compose build commands...

Example:
docker-compose.yml

version: "3"
services:
  test:
    profiles:
      - test
    build:
      context: .
    depends_on:
      postgres:
        condition: service_healthy
  postgres:
    image: postgres:14-alpine
    environment:
      POSTGRES_PASSWORD: test
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres"]
      interval: 5s
      timeout: 5s
      retries: 5

Dockerfile:

FROM python:3.9

CLI output:

 $ docker compose build test
[+] Building 0.8s (5/5) FINISHED
 => [test internal] load .dockerignore                                                                                                                                                     0.0s
 => => transferring context: 2B                                                                                                                                                            0.0s
 => [test internal] load build definition from Dockerfile                                                                                                                                  0.0s
 => => transferring dockerfile: 591B                                                                                                                                                       0.0s
 => [test internal] load metadata for docker.io/library/python:3.9                                                                                                                         0.7s
 => CACHED [test 1/1] FROM docker.io/library/python:3.9@sha256:ba10a2af9d6c3bd0d20c46ecbf866dabcbad4e6a3dd7b82e2dfb1a9b6d479d87                                                            0.0s
 => [test] exporting to image                                                                                                                                                              0.0s
 => => exporting layers                                                                                                                                                                    0.0s
 => => writing image sha256:ff8f23605c4296a872810899ce308ad8fb9e77b5aa2c8c9e0d8f7e9510897d90                                                                                               0.0s
 => => naming to docker.io/library/test-test                                                                                                                                        0.0s
 $ docker compose -p unique_name run --rm --no-deps test black --line-length 150 --check app/ tests/
[+] Building 0.0s (0/0)
service postgres is required by test but is disabled. Can be enabled by profiles []

@accetto
Copy link

accetto commented Jul 6, 2023

I've also got this problem after updating to Docker Desktop for Linux v4.21.1. It also includes Docker Compose v2.19.1 .

However, I'm getting the error message only with compose files that use 2 levels of extending. In my particular case I also use 2 separate YAML files.

For example, in this case I would get the error message shown bellow:

## in file 'common.yml'
services:
    service_A:
        profiles:
            - dummy
        ....
    service_B:
        profiles:
            - dummy
        extends: service_A
        depends_on: service_A
        ....

## in file 'concrete.yml'
services:
    service_C:
        profiles:
            - concrete
        extends: service_B
        depends_on: service_B
        ....

The error message in this case would be:

service service_A is required by service_C but is disabled. Can be enabled by profiles [dummy]

However, the following service would be built just fine:

## in file 'another.yml'
services:
    service_D:
    profiles:
        - another
    extends: service_A
    depends_on: service_A
    ....

Hopefully it helps by troubleshooting.

@milas milas removed their assignment Jul 6, 2023
leandroradusky added a commit to instedd/cdx that referenced this issue Jul 7, 2023
* General nih tables exporting

* Lint fixes and tests added

* Fixes PR review

* Fix: CI can't run the analysis step (docker error) (#1957)

This is a bug introduced in docker compose v2.19.0:
docker/compose#10751

* General nih tables exporting

* Lint fixes and tests added

* Fixes PR review

* Revert "Merge branch '1905-general-nih-tables' of https://github.com/instedd/cdx into 1905-general-nih-tables"

This reverts commit 32366c1.

* Revert "Revert "Merge branch '1905-general-nih-tables' of https://github.com/instedd/cdx into 1905-general-nih-tables""

This reverts commit 8994214.

* Fixes PR review

* Zip as buffer

---------

Co-authored-by: Julien Portalier <[email protected]>
@sentientmachin3
Copy link

sentientmachin3 commented Jul 8, 2023

I'm having this issue on version 2.19.1. Here's my docker-compose.yaml (env vars and volumes are trimmed for simplicity):

version: "3.8"
name: "name"

services:
  pgadmin:
    container_name: pgadmin
    image: dpage/pgadmin4
    restart: always
    environment: ...
    ports:
      - 8080:80
    volumes: ...

  db:
    image: postgres:alpine
    ports:
      - 5432:5432
    environment: ...
    container_name: postgres
    volumes: ...

  api:
    build: ./api
    image: api_dev
    ports:
      - 3080:3080
    environment: ...
    container_name: api
    volumes: ...
    links:
      - db:postgres

Basically when I'm restarting the api service, I get the error message reported in the issue.

@mariaa144
Copy link

Yeah. This seems to be a bad bug. I couldn't restart my nextcloud instance so the app container could connect to db! After downgrading to 2.18.1 I no longer had the issue.

I was very confused for a few hours.

felipecrs added a commit to felipecrs/docker-images that referenced this issue Jul 10, 2023
@AlexanderPershin
Copy link

AlexanderPershin commented Jul 12, 2023

I've encountered the same bug today after updating docker:

$ docker compose -f ./docker-compose-local.yml restart oauth
service verify is required by nginx but is disabled. Can be enabled by profiles []

$ docker compose version
Docker Compose version v2.19.1

Service can be restarted by vs code extension though


update
It seems that vs code uses docker restart <container_name> which I used istead of docker compose ... restart and it worked

@sentientmachin3
Copy link

sentientmachin3 commented Jul 23, 2023

I think the issue is still present on version 2.20.2.

@bdashrad
Copy link

I'm hitting this issue on 2.20.2 as well

@bdashrad
Copy link

bdashrad commented Jul 25, 2023

 $ docker compose build
[+] Building 0.0s (0/0)
service migrations is required by member-server but is disabled. Can be enabled by profiles [ci]

A little more background. It appears sometime between 1.18.2 and now docker compose began following the profiles rule outlined here: https://docs.docker.com/compose/profiles/#auto-enabling-profiles-and-dependency-resolution Previously, a service with no profile would trigger a build on a dependent service even if that one had a profile.

Example file that causes an issue.

---
version: "3.8"
name: server

services:
  server:
    image: gcr.io/my-org-12345/server:latest
    build:
      context: .
    depends_on:
      - migrations

  test:
    image: gcr.io/my-org-12345/server:test
    build:
      context: .
      target: test
    depends_on:
      - migrations
    profiles:
      - ci

  migrations:
    image: gcr.io/my-org-12345/server:migrations
    build:
      context: .
      target: migrations
    command:
      - "./migration"
    depends_on:
      - postgres
    profiles:
      - ci

  postgres:
    image: postgres:12
    volumes:
      - db-data:/var/lib/postgresql/data

volumes:
  db-data:

Removing the ci profile from the migrations service fixes the issue for me.

@sentientmachin3
Copy link

Uhm @bdashrad I don't think this is the case, in my case the list of profiles is always empty. Furthermore, I noticed this only happens when running docker-compose restart, all other commands seem to be working as expected.

cneill pushed a commit to DefectDojo/django-DefectDojo that referenced this issue Jul 25, 2023
#8427)

* Update DOCKER.md - Correct docker compose versions - bug from 2.19.0 upwards

Docker Compose version 2.19.0 and up has a 'fix' that enables dependency checks for services that are not used.  The previous behavior was to silently ignore missing dependencies.  As such, this confuses users and so I have made small changes to the documentation under the 'Checking Docker versions' portion to clarify these issues, until such a fix is released.

See docker compose issue here -  docker/compose#10751

* Update readme-docs/DOCKER.md

Co-authored-by: Cody Maffucci <[email protected]>

---------

Co-authored-by: Cody Maffucci <[email protected]>
@chrisfrancis27
Copy link

I'm hitting this issue in Docker Compose version v2.19.1 (macOS ventura).
Simple repro: https://github.com/docker/awesome-compose/tree/master/official-documentation-samples/rails/

@ahpooch
Copy link

ahpooch commented Aug 5, 2023

I'm encountered the same bug and then upgrade my Docker Desktop.
My context is just this simple demo from awesome-compose repo. It contains depends_on: instruction and attempt to run docker compose run --no-deps was generating aforementioned warning preventing next steps.
It seems the issue is resolved in Docker Compose version v2.20.2-desktop.1

@c0deright
Copy link

Still not fixed for me, see #10892

@razaashai95
Copy link

Encountering the same issue, updating to docker-compose v2.20.2-desktop.1 didn't fix anything.

@phatt-millips
Copy link

Seeing this on 2.23.0 as well

@alexburner
Copy link

Still seeing this too, on latest Docker Desktop:

Version: 4.25.0 (126437)
Engine: 24.0.6
Compose: v2.23.0-desktop.1

@alexburner
Copy link

alexburner commented Nov 19, 2023

Ah I see, the behavior I'm seeing is the same as mentioned above:

A little more background. It appears sometime between 1.18.2 and now docker compose began following the profiles rule outlined here: https://docs.docker.com/compose/profiles/#auto-enabling-profiles-and-dependency-resolution Previously, a service with no profile would trigger a build on a dependent service even if that one had a profile.

Also discussed in this article: https://nickjanetakis.com/blog/optional-depends-on-with-docker-compose-v2-20-2

And confirmed by this comment over here:

The main reason here is that we fixed the behaviour of depends_on with profiles according to the specification. You were using a bug as a feature (and this our fault not yours 😄 ), this has been discussed #9795

Basically we've got a setup like:

services:
  db:
    image: postgres

  redis:
    image: redis

  web:
    image: web
    depends_on:
      db:
        condition: service_healthy
      redis:
        condition: service_healthy

  backend1:
    image: backend1
    depends_on:
      web:
        condition: service_healthy
    profiles:
      - full_stack

  backend2:
    image: backend2
    depends_on:
      web:
        condition: service_healthy
    profiles:
      - full_stack

  celery:
    image: celery
    depends_on:
      db:
        condition: service_healthy
      redis:
        condition: service_healthy
      web:
        condition: service_healthy
      backend1:
        condition: service_healthy
      backend2:
        condition: service_healthy

We use a full_stack profile to determine whether we're just spinning up the web frontend/middleware, or also the backend services.

And we want celery to always start last, whether or not the full_stack profile is in use.

But in docker compose v2.19+ we get the error:

service backend1 is required by celery but is disabled. Can be enabled by profiles [full_stack]

And it seems like profiles is now unable to handle this? The article and this comment mention adding required: false:

 celery:
    image: celery
    depends_on:
      db:
        condition: service_healthy
      redis:
        condition: service_healthy
      web:
        condition: service_healthy
      backend1:
        condition: service_healthy
        required: false
      backend2:
        condition: service_healthy
        required: false

But that caused celery to be started twice, once before the backends and then "recreated" after — which led us to the same "celery task resume on startup failing with connection error" we were trying to avoid.

Is there a plan to support profile + depends_on in the future? Or do we need to use compose extend/merge instead?

@ndeloof
Copy link
Contributor

ndeloof commented Nov 20, 2023

@alexburner such a "select by profile" pattern is not supported, profiles are designed to add optional services to a compose model, not to switch components. An approach I have in mind to address this need relies on compose-spec/compose-spec#404

@Vigilans
Copy link

Vigilans commented Apr 13, 2024

such a "select by profile" pattern is not supported, profiles are designed to add optional services to a compose model, not to switch components.

@ndeloof You say profiles are designed to add optional services, but googling for selectively start components in docker compose, people always suggest you use profiles because docker compose just doesn't have any alternative for this.

Now compose team fixed a "bug" that many people used as "feature" because they don't have another alternative, these people just felt left out because not a single solution is available anymore after version 2.19.0 (see #9795 (comment), #10993), especially for me requiring include keyword which is supported since version 2.20.3.


Ok, now we stick to add optional services and forget about switch components things. Say we have service a in profile a and service b in profile b. They are all optional services, but service b depends on service a to work.

Now, #9795 says docker compose --profile b up should not start a because a is not enabled by profile, we should inhibit this implicit setup. Ok this argument is indeed valid, but shouldn't it be a proper way to explicitly specify this requirement in compose configuration file, thereby making auto enabling profile a a defined behavior?

Suggested proposal like this:

services:
  a:
    profiles: [a]
  b:
    profiles: [b]
    depends_on:
      a:
        profiles: [a]
        condition: service_started

By making depends_on.profiles, the a dependency explicitly states that "profile a should be activated when starting service b".

@ndeloof
Copy link
Contributor

ndeloof commented Apr 13, 2024

"switch components" is a perfectly valid usage. The simplest approach for now is to rely on multiple compose files. We don't have a better way yet, maybe some will come.

About your proposal, same can be achieved already by declaring service a with profiles: [a,b]

@Vigilans
Copy link

Vigilans commented Apr 13, 2024

Since I'm inclined to make a proposal of depends_on.profiles at compose-spec, let me elaborate on the use case more formally.

Example use case

Say we have following directory layout:

homelab/
├── .env
├── compose.yml
├── gitlab/
│   └── compose.yml
├── minio/
│   └── compose.yml
└── sharelatex/
    └── compose.yml

Where root compose.yml is:

networks:
  ...

secrets:
  ...

include:
  - minio/compose.yml
  - gitlab/compose.yml
  - sharelatex/compose.yml

And root .env contains:

COMPOSE_PROFILES=* # all

Here:

  • We call each of homelab's subfolder a component, and all its services in sub compose.yml will have the same profile, .e.g. sharelatex profile in sharelatex/compose.yml services.
  • minio is a component for S3 storage, therefore all other services using S3 as backend should include it as dependency, e.g. gitlab and sharelatex.

Now, we can select one of the components through:

$ docker compose --profile sharelatex config

And manage all services by not providing profile (because COMPOSE_PROFILES set to *):

$ docker compose config

Proposal about depends_on.profiles and component switch

@ndeloof You said We don't have a better way yet, maybe some will come., so let me be the one to come with the way for it.

Proposal is: use profile + depends_on.profiles [+ include].

Before explaining what depends_on.profiles will do in detail, let's see the drawbacks of current ways you mentioned.

1. Multiple compose files

The simplest approach for now is to rely on multiple compose files.

By using multiple compose files, one selects components with:

$ docker compose -f compose.yml -f sharelatex/compose.yml config

But sharelatex depends on minio component. Therefore you have to include one more file in command:

$ docker compose -f compose.yml -f minio/compose.yml -f sharelatex/compose.yml config

This:

  1. Breaks the convention that user should not care about what the dependencies are once written in config.
  2. Even if user takes the trouble to manage it, how can user know how many dependencies a component has once the dependency chain gets deeper? It also cannot be easily discovered through external script.

It also doesn't have a good way to manage all services without using external script.

2. Profiles + write child component's profile to parent dependency's profiles

About your proposal, same can be achieved already by declaring service a with profiles: [a,b]

By using profiles in this way, one selects components with:

$ docker compose --profile sharelatex config

Since minio component also gets written with sharelatex profile, above command need not change:

minio:
  profiles: [minio, sharelatex]

Seems good, but still with notable drawbacks:

  1. Breaks the convention that children dependencies should be transparent to parent.

    Why should minio component's yml should know it has a sharelatex children? When there are more services that relies on S3 storage, they all need be written to minio's compose file.

    What's more, minio is a component with mutiple services. Say we have m minio services with n children components, then the profiles have to be written m*n times to minio's compose file. This is really a burden to maintainer.

  2. It is not optimal to select parent services into management.

    When selecting sharelatex profile without minio services, only sharelatex services will be selected for management:

    $ docker compose --profile sharelatex restart
    [+] Restarting 5/5
    ✔ Container sharelatex-mongo    Started
    ✔ Container sharelatex          Started
    ✔ Container sharelatex-texlive  Started
    ✔ Container sharelatex-mount    Started
    ✔ Container sharelatex-redis    Started
    

    However, when specifying minio services with sharelatex profiles, restart of compose will also restart minio services:

    docker compose --profile sharelatex restart                                                                                                                           
    [+] Restarting 7/7
    ✔ Container sharelatex-mongo    Started
    ✔ Container sharelatex-mount    Started
    ✔ Container sharelatex          Started
    ✔ Container sharelatex-texlive  Started
    ✔ Container minio-mount         Started
    ✔ Container minio               Started
    ✔ Container sharelatex-redis    Started
    

    This is not optimal and even unacceptable, since minio is an important base service for storage, how can a restart of sharelatex component also restarts minio component that breaks all other components relying on it?

3. Proposed solution for component switching: Profiles + depends_on.profiles

With above use cases, let's see how is depends_on.profiles used and what it will do:

services:
  sharelatex:
    depends_on:
      minio:
        profiles: [minio]
        condition: service_healthy

By explicitly specifying minio profile in minio service dependency, starting of sharelatex service will start minio service (and other services minio relies on in minio profile) and wait until it's healthy, but do not select minio services into management.

That is, docker compose --profile sharelatex restart command will 1) only restart sharelatex services, and 2) start minio service if not up, and wait for it to be healthy.

For managing all services, use root .env with:

COMPOSE_PROFILES=* # all

So docker compose up command will just bring up all services the old-school way.

It perfectly solves all drawbacks above, and presents a very good solution for component switching because it only uses simple docker compose command as entrypoint, without resorting to external script.

@ndeloof
Copy link
Contributor

ndeloof commented Apr 13, 2024

COMPOSE_PROFILES=*

sounds to me like a terrible pattern!

Breaks the convention that user should not care about what the dependencies are once written in config.

this is why include has been introduced, so you can rely on third-party components without having to know about implementation details

You can then use:

include:
    - ${BACKEND:-sharelatex}/compose.yml

.. which will load sharelatex implementation by default, but you can select another one by just setting BACKEND variable so this point to another compose file, as long as same service name is declared

@Vigilans
Copy link

Vigilans commented Apr 13, 2024

COMPOSE_PROFILES=*

sounds to me like a terrible pattern!

* can be replaced by explicitly specifying all (and exclude some optional) components, like:

COMPOSE_PROFILES=minio,gitlab,sharelatex

It doesn't matter, because we can still use docker compose up so manage all default services the old-school way.

In fact, since these components are already explicitly declared in root compose.yml:

networks:
  ...

secrets:
  ...

include:
  - minio/compose.yml
  - gitlab/compose.yml
  - sharelatex/compose.yml

Explicitly write default profiles in .env file is also a better choice.

Command line provided COMPOSE_PROFILES will also override the value in .env file:

COMPOSE_PROFILES=sharelatex docker compose config

So .env provided COMPOSE_PROFILES will not interfere existing behaviors of COMPOSE_PROFILES=... docker compose and docker compose --profile ....


You can then use:

include:
    - ${BACKEND:-sharelatex}/compose.yml

.. which will load sharelatex implementation by default, but you can select another one by just setting BACKEND variable so this point to another compose file, as long as same service name is declared

This still has the problem that if sharelatex depends on minio component, we should also include minio/compose.yml:

include:
    - minio/compose.yml
    - ${BACKEND:-sharelatex}/compose.yml

But this selects minio component as default. What to do when BACKEND is something that does not rely on minio component? It comes back to the problem to manually figure out dependencies of specific BACKEND component.

If we include minio/compose.yml in sharelatex/compose.yml:

include:
    - ../minio/compose.yml

This:

  1. Using .. in child component compose.yml seems not a good pattern.
  2. Comes back to the problem 2.2 that selecting minio services for management may not be optimal, like restarting sharelatex component will also restart minio component that breaks other services that depends on minio.

@ndeloof
Copy link
Contributor

ndeloof commented Apr 13, 2024

This still has the problem that if sharelatex depends on minio component, we should also include minio/compose.yml

no. If sharelatex includes minio (as it depends on this component) you don't have to. includes is transitive

@Vigilans
Copy link

This still has the problem that if sharelatex depends on minio component, we should also include minio/compose.yml

no. If sharelatex includes minio (as it depends on this component) you don't have to. includes is transitive

I've mentioned this in second example (include - ../minio/compose.yml), and it still has the problem that selecting minio services for management may not be optimal, like restarting sharelatex component will also restart minio component that breaks other services (e.g. gitlab) that depends on minio.


I've opened a PR at compose-spec/compose-spec#488 to introduce depends_on.profiles attribute to fully solve this issue. @nickjj @alexburner @ShahimEssaid May you share some opinions on it?

maayanyosef added a commit to explorium-ai/jenkins-agent-dind that referenced this issue Jul 28, 2024
* Downgrade docker compose from 2.19.1 to 2.18.1

Because of docker/compose#10751

* Revert "Downgrade docker compose from 2.19.1 to 2.18.1"

Because docker compose 2.20.2 solves the issue.

This reverts commit d0e25e5.

* Downgrade JDK from 11.0.20 to to 11.0.19 (felipecrs#76)

* Align remoting version with jenkins/docker-agent

So we don't try to use non-tested versions of the remoting library.

Also adds some dependencies from jenkins/docker-agent that were missing
in this image.

* Bump dind hack to latest version

* Clean not needed data like man pages

* Switch skopeo installation to skopeo-bin

* Upgrade fixuid from 0.5.1 to 0.6.0

* Add retry (felipecrs#80)

* Fix some hadolint issues

* Bump actions/checkout from 3 to 4 (felipecrs#81)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/metadata-action from 4 to 5 (felipecrs#85)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](docker/metadata-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/build-push-action from 4 to 5 (felipecrs#84)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/login-action from 2 to 3 (felipecrs#83)

Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/setup-buildx-action from 2 to 3 (felipecrs#82)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Honor default shell in /ssh-command/get.sh

* Upgrade s6-overlay from v2 to v3 (felipecrs#78)

* Revert "Downgrade JDK from 11.0.20 to to 11.0.19 (felipecrs#76)" (felipecrs#86)

This reverts commit 0c9a5a9.

* Revert "Upgrade s6-overlay from v2 to v3 (felipecrs#78)"

This reverts commit b074844, due to
just-containers/s6-overlay#558.

* Upgrade s6-overlay from v2 to v3 (felipecrs#78)""

This reverts commit 70ec592.

Refs felipecrs#78
Refs just-containers/s6-overlay#558 (comment)

* Downgrade and pin Node.js to v18 (felipecrs#90)

* Bump peter-evans/dockerhub-description from 3 to 4 (felipecrs#91)

Bumps [peter-evans/dockerhub-description](https://github.com/peter-evans/dockerhub-description) from 3 to 4.
- [Release notes](https://github.com/peter-evans/dockerhub-description/releases)
- [Commits](peter-evans/dockerhub-description@v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/dockerhub-description
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Ubuntu 20.04 to 22.04

* Fix minor README issues (felipecrs#93)

* Extract image preparation into a separate script and improve it (felipecrs#94)

Among other things, the new script no longer needs add-apt-repository,
changes the kubernetes debian repository to the new one.

As part of this improvement, we also change the base image from
buildpack to ubuntu, while still keeping the build-essential package
installed. This allows to trim the image size a little bit.

* Stop publishing to Docker Hub (felipecrs#95)

I prefer to concentrate on publishing to GitHub Container Registry, so
that I don't need to maintain two accounts and also because this way all
download counts are in one place.

As part of this change, I also removed the Docker image from Docker Hub,
so that when users try to download it again, it will fail and therefore
notice that the image is no longer available there. Otherwise, they
would keep using the old image without noticing that it's no longer
updated.

* Remove btrfs-progs and add pigz for faster docker pulls (felipecrs#96)

* Remove non-generic packages from image but add pkgx (felipecrs#97)

* Set docker daemon log-level to warn by default (felipecrs#98)

And remove deprecated fix-attrs.

* Use same JDK as jenkins/inbound-agent (upgrade to 17) (felipecrs#89)

* Add automatic tests (felipecrs#59)

* Add support for `arm64` architecture (felipecrs#75)

* Add Oh My Bash and nano to make debugging the container easier (felipecrs#99)

* Add mention to pkgx and sshd into README

* Allow to run with docker on docker mode (felipecrs#100)

* Setup dond-shim when running in docker on docker mode (felipecrs#101)

* Configure Renovate (felipecrs#102)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Format json files

* Enable Renovate automerge and dependency dashboard

* Remove nightly docker tags and other dev improvements

* Fix build and Renovate regex

* Reorganize README

* Allow to run as a devcontainer (felipecrs#104)

* Configure Renovate to update Docker (felipecrs#106)

* Update dependency felipecrs/fixdockergid to v0.7.1

* Update dependency docker/buildx to v0.13.0

* Update dependency moby/moby to v25.0.4 (felipecrs#110)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency docker/compose to v2.24.7 (felipecrs#108)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Update ubuntu Docker tag to jammy-20240227 (felipecrs#111)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Fix shell in intermediate stage

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-5

* Refactor legacy s6-overlay services.d into s6-rc.d (felipecrs#114)

* Set startup time per s6-overlay service (felipecrs#115)

* Split image into devcontainer and jenkins-agent-dind (felipecrs#117)

* Fix paths in renovate.json after rename [skip ci]

* Fix image push

* Fix image push (again)

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-6

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-7

* Configure GitHub Actions cache (felipecrs#124)

* Update dependency moby/moby to v25.0.5

* Update dependency docker/compose to v2.25.0

* Update dependency docker/buildx to v0.13.1 (felipecrs#118)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Only pin docker-ce version (felipecrs#127)

* Retain USER and HOME env vars when running with docker exec

* Add tests for USER env var

* Reduce sleeps

* Check docker socket through mountpoint

* Speed up Jenkins startup in test

* Fix devcontainer not running entrypoint

* Fix description label of the images

* Fix build cache in CI not being used properly

Refs docker/buildx#1044

* Update jenkins/jenkins Docker tag to v2.440.2

* Combine dockerfiles to improve caching (felipecrs#130)

Because apparently bake does not cache linked build contexts.

* Update dependency moby/moby to v26 (felipecrs#131)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix images description in ghcr.io (felipecrs#133)

* Add test for SSHD in devcontainer (felipecrs#135)

* Test scripted pipeline mounting ~/.m2 (felipecrs#136)

* Ship a better default Dockerfile `SHELL` (felipecrs#137)

* Update dependency moby/moby to v26.0.1

* Update ubuntu Docker tag to jammy-20240405

* Update jenkins/jenkins Docker tag to v2.440.3

* Update dependency moby/moby to v26.0.2

* Update dependency moby/moby to v26.1.0

* Update ubuntu Docker tag to jammy-20240416

* Update Ubuntu 22.04 to 24.04 (felipecrs#144)

* Add Volta back as a pkgx stub (felipecrs#146)

* Move Volta stub to ~/.local/bin instead of /usr/local/bin (felipecrs#148)

* Add python3 and pipx (felipecrs#149)

* Update dependency moby/moby to v26.1.1

* Update ubuntu Docker tag to noble-20240429

* Prefer volta binaries over pkgx ones if available (felipecrs#152)

* Inherit DOMAIN from parent container for /ssh-command/get.sh (felipecrs#153)

* Update dependency moby/moby to v26.1.2

* Update Jenkins Agent JDK from 17 to 21 (felipecrs#155)

* Bypass dind hack when running with Sysbox (felipecrs#156)

* Add wget back to devcontainer and jenkins-agent-dind

Wget was part of v1, but was unintentionally removed in v2.

* Update dependency jenkinsci/helm-charts to v5.1.13

* Update dependency jenkinsci/helm-charts to v5.1.15

* Update dependency jenkinsci/helm-charts to v5.1.16

* Update dependency moby/moby to v26.1.3

* Update dependency jenkinsci/helm-charts to v5.1.17

* Update dependency jenkinsci/helm-charts to v5.1.18

* Update dependency jenkinsci/helm-charts to v5.1.20

* Update dependency jenkinsci/helm-charts to v5.1.21

* Update dependency jenkinsci/helm-charts to v5.1.22

* Update dependency jenkinsci/helm-charts to v5.1.23

* Update dependency jenkinsci/helm-charts to v5.1.24

* Update dependency jenkinsci/helm-charts to v5.1.25

* Update dependency jenkinsci/helm-charts to v5.1.26

* Update ubuntu Docker tag to noble-20240530

* Update dependency moby/moby to v26.1.4

* Update dependency jenkinsci/helm-charts to v5.1.28

* Update dependency jenkinsci/helm-charts to v5.1.29

* Update dependency jenkinsci/helm-charts to v5.1.30

* Update dependency jenkinsci/helm-charts to v5.1.31

* Update dependency jenkinsci/helm-charts to v5.2.0

* Update dependency jenkinsci/helm-charts to v5.2.1

* Update dependency jenkinsci/helm-charts to v5.2.2

* Update docker/bake-action action to v5 (felipecrs#179)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update ubuntu Docker tag to noble-20240605

* Update dependency jenkinsci/helm-charts to v5.3.0

* Update dependency jenkinsci/helm-charts to v5.3.1

* Update dependency moby/moby to v27 (felipecrs#183)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency moby/moby to v27.0.2

* Use my pkgx fork while main repo is inactive (felipecrs#185)

* Update dependency jenkinsci/helm-charts to v5.3.2

* Update dependency jenkinsci/helm-charts to v5.3.3

* Create FUNDING.yml

* Update dependency felipecrs/pkgx to 1.2.0-felipecrs.1 (felipecrs#189)

* Update dependency moby/moby to v27.0.3

* Improve Renovate depNames

* Try to fix Renovate for felipecrs/pkgx

* Remove unnecessary Renovate config for felipecrs/pkgx

* Update dependency felipecrs/pkgx to v1.2.0-felipecrs.2

* Update dependency jenkinsci/helm-charts to v5.3.6

* Update dependency jenkinsci/helm-charts to v5.4.1

* Update dependency jenkinsci/helm-charts to v5.4.2

* Update dependency jenkinsci/helm-charts to v5.4.3

* Update dependency docker to v27.1.0

* Update dependency docker to v27.1.1

* update ci

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Felipe Santos <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
maayanyosef added a commit to explorium-ai/jenkins-agent-dind that referenced this issue Jul 28, 2024
* Downgrade docker compose from 2.19.1 to 2.18.1

Because of docker/compose#10751

* Revert "Downgrade docker compose from 2.19.1 to 2.18.1"

Because docker compose 2.20.2 solves the issue.

This reverts commit d0e25e5.

* Downgrade JDK from 11.0.20 to to 11.0.19 (felipecrs#76)

* Align remoting version with jenkins/docker-agent

So we don't try to use non-tested versions of the remoting library.

Also adds some dependencies from jenkins/docker-agent that were missing
in this image.

* Bump dind hack to latest version

* Clean not needed data like man pages

* Switch skopeo installation to skopeo-bin

* Upgrade fixuid from 0.5.1 to 0.6.0

* Add retry (felipecrs#80)

* Fix some hadolint issues

* Bump actions/checkout from 3 to 4 (felipecrs#81)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/metadata-action from 4 to 5 (felipecrs#85)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](docker/metadata-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/build-push-action from 4 to 5 (felipecrs#84)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/login-action from 2 to 3 (felipecrs#83)

Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docker/setup-buildx-action from 2 to 3 (felipecrs#82)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Honor default shell in /ssh-command/get.sh

* Upgrade s6-overlay from v2 to v3 (felipecrs#78)

* Revert "Downgrade JDK from 11.0.20 to to 11.0.19 (felipecrs#76)" (felipecrs#86)

This reverts commit 0c9a5a9.

* Revert "Upgrade s6-overlay from v2 to v3 (felipecrs#78)"

This reverts commit b074844, due to
just-containers/s6-overlay#558.

* Upgrade s6-overlay from v2 to v3 (felipecrs#78)""

This reverts commit 70ec592.

Refs felipecrs#78
Refs just-containers/s6-overlay#558 (comment)

* Downgrade and pin Node.js to v18 (felipecrs#90)

* Bump peter-evans/dockerhub-description from 3 to 4 (felipecrs#91)

Bumps [peter-evans/dockerhub-description](https://github.com/peter-evans/dockerhub-description) from 3 to 4.
- [Release notes](https://github.com/peter-evans/dockerhub-description/releases)
- [Commits](peter-evans/dockerhub-description@v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/dockerhub-description
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Ubuntu 20.04 to 22.04

* Fix minor README issues (felipecrs#93)

* Extract image preparation into a separate script and improve it (felipecrs#94)

Among other things, the new script no longer needs add-apt-repository,
changes the kubernetes debian repository to the new one.

As part of this improvement, we also change the base image from
buildpack to ubuntu, while still keeping the build-essential package
installed. This allows to trim the image size a little bit.

* Stop publishing to Docker Hub (felipecrs#95)

I prefer to concentrate on publishing to GitHub Container Registry, so
that I don't need to maintain two accounts and also because this way all
download counts are in one place.

As part of this change, I also removed the Docker image from Docker Hub,
so that when users try to download it again, it will fail and therefore
notice that the image is no longer available there. Otherwise, they
would keep using the old image without noticing that it's no longer
updated.

* Remove btrfs-progs and add pigz for faster docker pulls (felipecrs#96)

* Remove non-generic packages from image but add pkgx (felipecrs#97)

* Set docker daemon log-level to warn by default (felipecrs#98)

And remove deprecated fix-attrs.

* Use same JDK as jenkins/inbound-agent (upgrade to 17) (felipecrs#89)

* Add automatic tests (felipecrs#59)

* Add support for `arm64` architecture (felipecrs#75)

* Add Oh My Bash and nano to make debugging the container easier (felipecrs#99)

* Add mention to pkgx and sshd into README

* Allow to run with docker on docker mode (felipecrs#100)

* Setup dond-shim when running in docker on docker mode (felipecrs#101)

* Configure Renovate (felipecrs#102)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Format json files

* Enable Renovate automerge and dependency dashboard

* Remove nightly docker tags and other dev improvements

* Fix build and Renovate regex

* Reorganize README

* Allow to run as a devcontainer (felipecrs#104)

* Configure Renovate to update Docker (felipecrs#106)

* Update dependency felipecrs/fixdockergid to v0.7.1

* Update dependency docker/buildx to v0.13.0

* Update dependency moby/moby to v25.0.4 (felipecrs#110)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency docker/compose to v2.24.7 (felipecrs#108)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Update ubuntu Docker tag to jammy-20240227 (felipecrs#111)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Fix shell in intermediate stage

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-5

* Refactor legacy s6-overlay services.d into s6-rc.d (felipecrs#114)

* Set startup time per s6-overlay service (felipecrs#115)

* Split image into devcontainer and jenkins-agent-dind (felipecrs#117)

* Fix paths in renovate.json after rename [skip ci]

* Fix image push

* Fix image push (again)

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-6

* Update dependency jenkinsci/docker-agent to v3206.vb_15dcf73f6a_9-7

* Configure GitHub Actions cache (felipecrs#124)

* Update dependency moby/moby to v25.0.5

* Update dependency docker/compose to v2.25.0

* Update dependency docker/buildx to v0.13.1 (felipecrs#118)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>

* Only pin docker-ce version (felipecrs#127)

* Retain USER and HOME env vars when running with docker exec

* Add tests for USER env var

* Reduce sleeps

* Check docker socket through mountpoint

* Speed up Jenkins startup in test

* Fix devcontainer not running entrypoint

* Fix description label of the images

* Fix build cache in CI not being used properly

Refs docker/buildx#1044

* Update jenkins/jenkins Docker tag to v2.440.2

* Combine dockerfiles to improve caching (felipecrs#130)

Because apparently bake does not cache linked build contexts.

* Update dependency moby/moby to v26 (felipecrs#131)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix images description in ghcr.io (felipecrs#133)

* Add test for SSHD in devcontainer (felipecrs#135)

* Test scripted pipeline mounting ~/.m2 (felipecrs#136)

* Ship a better default Dockerfile `SHELL` (felipecrs#137)

* Update dependency moby/moby to v26.0.1

* Update ubuntu Docker tag to jammy-20240405

* Update jenkins/jenkins Docker tag to v2.440.3

* Update dependency moby/moby to v26.0.2

* Update dependency moby/moby to v26.1.0

* Update ubuntu Docker tag to jammy-20240416

* Update Ubuntu 22.04 to 24.04 (felipecrs#144)

* Add Volta back as a pkgx stub (felipecrs#146)

* Move Volta stub to ~/.local/bin instead of /usr/local/bin (felipecrs#148)

* Add python3 and pipx (felipecrs#149)

* Update dependency moby/moby to v26.1.1

* Update ubuntu Docker tag to noble-20240429

* Prefer volta binaries over pkgx ones if available (felipecrs#152)

* Inherit DOMAIN from parent container for /ssh-command/get.sh (felipecrs#153)

* Update dependency moby/moby to v26.1.2

* Update Jenkins Agent JDK from 17 to 21 (felipecrs#155)

* Bypass dind hack when running with Sysbox (felipecrs#156)

* Add wget back to devcontainer and jenkins-agent-dind

Wget was part of v1, but was unintentionally removed in v2.

* Update dependency jenkinsci/helm-charts to v5.1.13

* Update dependency jenkinsci/helm-charts to v5.1.15

* Update dependency jenkinsci/helm-charts to v5.1.16

* Update dependency moby/moby to v26.1.3

* Update dependency jenkinsci/helm-charts to v5.1.17

* Update dependency jenkinsci/helm-charts to v5.1.18

* Update dependency jenkinsci/helm-charts to v5.1.20

* Update dependency jenkinsci/helm-charts to v5.1.21

* Update dependency jenkinsci/helm-charts to v5.1.22

* Update dependency jenkinsci/helm-charts to v5.1.23

* Update dependency jenkinsci/helm-charts to v5.1.24

* Update dependency jenkinsci/helm-charts to v5.1.25

* Update dependency jenkinsci/helm-charts to v5.1.26

* Update ubuntu Docker tag to noble-20240530

* Update dependency moby/moby to v26.1.4

* Update dependency jenkinsci/helm-charts to v5.1.28

* Update dependency jenkinsci/helm-charts to v5.1.29

* Update dependency jenkinsci/helm-charts to v5.1.30

* Update dependency jenkinsci/helm-charts to v5.1.31

* Update dependency jenkinsci/helm-charts to v5.2.0

* Update dependency jenkinsci/helm-charts to v5.2.1

* Update dependency jenkinsci/helm-charts to v5.2.2

* Update docker/bake-action action to v5 (felipecrs#179)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update ubuntu Docker tag to noble-20240605

* Update dependency jenkinsci/helm-charts to v5.3.0

* Update dependency jenkinsci/helm-charts to v5.3.1

* Update dependency moby/moby to v27 (felipecrs#183)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency moby/moby to v27.0.2

* Use my pkgx fork while main repo is inactive (felipecrs#185)

* Update dependency jenkinsci/helm-charts to v5.3.2

* Update dependency jenkinsci/helm-charts to v5.3.3

* Create FUNDING.yml

* Update dependency felipecrs/pkgx to 1.2.0-felipecrs.1 (felipecrs#189)

* Update dependency moby/moby to v27.0.3

* Improve Renovate depNames

* Try to fix Renovate for felipecrs/pkgx

* Remove unnecessary Renovate config for felipecrs/pkgx

* Update dependency felipecrs/pkgx to v1.2.0-felipecrs.2

* Update dependency jenkinsci/helm-charts to v5.3.6

* Update dependency jenkinsci/helm-charts to v5.4.1

* Update dependency jenkinsci/helm-charts to v5.4.2

* Update dependency jenkinsci/helm-charts to v5.4.3

* Update dependency docker to v27.1.0

* Update dependency docker to v27.1.1

* update ci

* Update README.md

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Felipe Santos <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.