Files
opentf/website/docs/intro/install/docker-compose.yaml
2025-07-23 09:13:49 -04:00

113 lines
2.6 KiB
YAML

# Copyright (c) The OpenTofu Authors
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2023 HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
# This docker-compose file tests the installation instructions with all operating systems. See #
# test-install-instructions.sh for details.
services:
alpine-convenience:
image: alpine
volumes:
- source: ./
target: /data
type: bind
command: /data/alpine.sh --convenience
working_dir: /data
alpine-manual:
image: alpine
volumes:
- source: ./
target: /data
type: bind
command: /data/alpine.sh
working_dir: /data
debian-convenience:
image: debian:stable
volumes:
- source: ./
target: /data
type: bind
command: /data/deb.sh --convenience
working_dir: /data
debian-manual:
image: debian:stable
volumes:
- source: ./
target: /data
type: bind
command: /data/deb.sh
working_dir: /data
ubuntu-convenience:
image: ubuntu:latest
volumes:
- source: ./
target: /data
type: bind
command: /data/deb.sh --convenience
working_dir: /data
ubuntu-manual:
image: ubuntu:latest
volumes:
- source: ./
target: /data
type: bind
command: /data/deb.sh
working_dir: /data
fedora-convenience:
image: fedora:latest
volumes:
- source: ./
target: /data
type: bind
command: /data/rpm.sh --convenience
working_dir: /data
fedora-manual:
image: fedora:latest
volumes:
- source: ./
target: /data
type: bind
command: /data/rpm.sh
working_dir: /data
opensuse-convenience:
image: opensuse/leap:latest
volumes:
- source: ./
target: /data
type: bind
command: /data/rpm.sh --convenience
working_dir: /data
opensuse-manual:
image: opensuse/leap:latest
volumes:
- source: ./
target: /data
type: bind
command: /data/rpm.sh
working_dir: /data
rockylinux-convenience:
image: rockylinux:9
volumes:
- source: ./
target: /data
type: bind
command: /data/rpm.sh --convenience
working_dir: /data
rockylinux-manual:
image: rockylinux:9
volumes:
- source: ./
target: /data
type: bind
command: /data/rpm.sh
working_dir: /data
brew:
image: ubuntu
volumes:
- source: ./
target: /data
type: bind
command: /data/brew.sh
working_dir: /data