Skip to main content

Official Deployer Docker Image

ยท 2 min read
Anton Medvedev
Ex-SRE at Google, Ex-SWE at Aviasales

We're excited to announce the release of the Official Deployer Docker Image! This image simplifies the deployment process for anyone using Deployer, providing a pre-configured environment ready to handle your deployment tasks right out of the box.

How to Use the Deployer Docker Imageโ€‹

Using the Deployer Docker Image is simple and straightforward. All you need to do is run the following command:

docker run --rm -it -v .:/app deployphp/deployer init

This command will create a container that mounts your current directory (.) to /app inside the container. The --rm flag ensures the container is automatically cleaned up after it's done, while -it enables interactive mode for easy configuration.

What's Inside the Image?โ€‹

The Deployer Docker Image comes with all the essential tools you need for successful deployment, including:

  • bash
  • git
  • openssh-client
  • rsync

With these tools, you have everything required to carry out deployments quickly and securely, without worrying about missing dependencies.

Docker Image Tags and Versioningโ€‹

We will release new Docker images aligned with Deployer releases, ensuring that you can always use the latest and most stable version of Deployer in your CI/CD workflows. Our images will support the following tags:

  • latest: Automatically points to the most recent stable version of Deployer.
  • SemVer Tags:
    • Full version tags like v{{major}}.{{minor}}.{{patch}}
    • Minor version tags like v{{major}}.{{minor}}
    • Major version tags like v{{major}}
  • SHA Tags: Tags for specific commits.

These images will be built and released starting from the latest version, v7.4.1, so you can always pick the version that best suits your needs.

Stay tuned for more updates as we continue to improve and expand the functionality of the Deployer Docker Image.

2
๐ŸŽ‰1

Discuss on GitHub โ†’