Skip to content

Docker image doesn't provide curl #2373

@robfrank

Description

@robfrank

After switching to Apline as a base image, curl is no more included.

when deploying ArcadeDB with docker compose, curl could be used to check the readiness of the container:

services:
  arcadedb:
    image: arcadedata/arcadedb:25.6.1
    container_name: arcadedb
    environment:
      - JAVA_OPTS=-Darcadedb.server.rootPassword=playwithdata -Darcadedb.server.plugins=Prometheus:com.arcadedb.metrics.prometheus.PrometheusMetricsPlugin
    ports:
      - "2480:2480" # HTTP/REST API
      - "2424:2424" # Binary protocol
    volumes:
      - arcadedb_data:/arcadedb/databases
    healthcheck:
      test: "curl --fail http://localhost:2480/api/v1/ready"
      interval: 5s
      timeout: 5s
      retries: 10
      start_period: 10s

Proposed solution

Include cUrl in the image (Dockerfile)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions