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

chore(docker-clamav): update Dockerfile and entrypoint.sh #23

Closed
wants to merge 6 commits into from

Partially reverted changes on docker-compose.yml

d6431c3
Select commit
Loading
Failed to load commit list.
Closed

chore(docker-clamav): update Dockerfile and entrypoint.sh #23

Partially reverted changes on docker-compose.yml
d6431c3
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request required action Oct 7, 2023 in 1m 48s

Build Errored

The build errored. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #23 chore(docker-clamav): update Dockerfile and entrypoint.sh.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has two jobs, running in parallel.

Job OS State
89.1 Linux errored
89.2 Linux errored

Build Configuration

Build Option Setting
Language Shell
Operating System Linux (Jammy)
Build Configuration
{
  "language": "shell",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "notifications": {
    "email": [
      {
        "recipients": [
          "team@appwrite.io"
        ]
      }
    ]
  },
  "arch": [
    "amd64",
    "arm64"
  ],
  "before_install": [
    "curl -fsSL https://get.docker.com | sh",
    "echo '{\"experimental\":\"enabled\"}' | sudo tee /etc/docker/daemon.json",
    "mkdir -p $HOME/.docker",
    "echo '{\"experimental\":\"enabled\"}' | sudo tee $HOME/.docker/config.json",
    "sudo service docker start",
    "if [ ! -z \"${DOCKERHUB_PULL_USERNAME:-}\" ]; then\n  echo \"${DOCKERHUB_PULL_PASSWORD}\" | docker login --username \"${DOCKERHUB_PULL_USERNAME}\" --password-stdin\nfi\n",
    "docker --version"
  ],
  "install": [
    "docker-compose up -d"
  ],
  "script": [
    "sleep 10",
    "docker ps -a",
    "docker-compose logs clamav",
    "if : >/dev/tcp/localhost/3310; then\n  echo 'Connection available.'\n  travis_terminate 0\nelse\n  echo 'Connection unavailable.'\n  travis_terminate 1\nfi\n"
  ],
  "deploy": [
    {
      "provider": "script",
      "edge": true,
      "script": "docker run --rm --privileged linuxkit/binfmt:v0.8 && docker buildx create --use && docker buildx build --platform linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/s390x -t appwrite/clamav:$TRAVIS_TAG ./ --push",
      "on": {
        "tags": true,
        "condition": [
          "$TRAVIS_CPU_ARCH = amd64"
        ]
      }
    }
  ]
}