You've already forked docker-compose-docker
Compare commits
23 Commits
2dbff34346
...
v2.37.1
Author | SHA1 | Date | |
---|---|---|---|
17cc804f00
|
|||
5d154c71b6
|
|||
8e89e731a4
|
|||
e020bda59c
|
|||
fa5e8b0b35
|
|||
4f01122d67
|
|||
f6aff367ab
|
|||
e05c8f6c6d
|
|||
5d6a2a6013
|
|||
966c00b2fb
|
|||
d385a3ad1d
|
|||
e7afe5bede
|
|||
c2c1dd9cba
|
|||
4bc581d059
|
|||
8fbc5ee077
|
|||
e0dce1bca5
|
|||
183aa24e04
|
|||
f0d4b7fed6
|
|||
2efe2c8db2
|
|||
441f3a62f1
|
|||
b8e540a75b
|
|||
3afb5a8ebf
|
|||
f9cf3d2bd4
|
@ -17,11 +17,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.2.2
|
- uses: actions/checkout@v4.2.2
|
||||||
- uses: docker/setup-qemu-action@v3.6.0
|
- uses: docker/setup-qemu-action@v3.6.0
|
||||||
- uses: docker/setup-buildx-action@v3.10.0
|
- uses: docker/setup-buildx-action@v3.11.1
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
TAG=latest
|
||||||
|
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/arm64 \
|
--platform linux/arm64 \
|
||||||
@ -35,11 +35,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.2.2
|
- uses: actions/checkout@v4.2.2
|
||||||
- uses: docker/setup-qemu-action@v3.6.0
|
- uses: docker/setup-qemu-action@v3.6.0
|
||||||
- uses: docker/setup-buildx-action@v3.10.0
|
- uses: docker/setup-buildx-action@v3.11.1
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
TAG=latest
|
||||||
|
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
|
@ -1,46 +0,0 @@
|
|||||||
name: Markdown linter
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
paths: [ "**/*.md" ]
|
|
||||||
types: [ "opened", "reopened", "synchronize" ]
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '**'
|
|
||||||
paths: [ "**/*.md" ]
|
|
||||||
tags-ignore:
|
|
||||||
- '**'
|
|
||||||
workflow_dispatch: {}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
markdown-link-checker:
|
|
||||||
container:
|
|
||||||
image: docker.io/library/node:23.11.0-alpine
|
|
||||||
runs-on:
|
|
||||||
- ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Install tooling
|
|
||||||
run: |
|
|
||||||
apk update
|
|
||||||
apk add git npm
|
|
||||||
- uses: actions/checkout@v4.2.2
|
|
||||||
- name: Verify links in markdown files
|
|
||||||
run: |
|
|
||||||
npm install
|
|
||||||
npm run readme:link
|
|
||||||
|
|
||||||
markdown-lint:
|
|
||||||
container:
|
|
||||||
image: docker.io/library/node:23.11.0-alpine
|
|
||||||
runs-on:
|
|
||||||
- ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Install tooling
|
|
||||||
run: |
|
|
||||||
apk update
|
|
||||||
apk add git
|
|
||||||
- uses: actions/checkout@v4.2.2
|
|
||||||
- name: Lint markdown files
|
|
||||||
run: |
|
|
||||||
npm install
|
|
||||||
npm run readme:lint
|
|
@ -11,7 +11,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.2.2
|
- uses: actions/checkout@v4.2.2
|
||||||
- uses: docker/setup-qemu-action@v3.6.0
|
- uses: docker/setup-qemu-action@v3.6.0
|
||||||
- uses: docker/setup-buildx-action@v3.10.0
|
- uses: docker/setup-buildx-action@v3.11.1
|
||||||
|
|
||||||
- uses: docker/login-action@v3.4.0
|
- uses: docker/login-action@v3.4.0
|
||||||
with:
|
with:
|
||||||
@ -36,7 +36,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.2.2
|
- uses: actions/checkout@v4.2.2
|
||||||
- uses: docker/setup-qemu-action@v3.6.0
|
- uses: docker/setup-qemu-action@v3.6.0
|
||||||
- uses: docker/setup-buildx-action@v3.10.0
|
- uses: docker/setup-buildx-action@v3.11.1
|
||||||
|
|
||||||
- uses: docker/login-action@v3.4.0
|
- uses: docker/login-action@v3.4.0
|
||||||
with:
|
with:
|
||||||
@ -76,4 +76,24 @@ jobs:
|
|||||||
--amend git.cryptic.systems/volker.raschek/docker-compose:${TAG}-amd64 \
|
--amend git.cryptic.systems/volker.raschek/docker-compose:${TAG}-amd64 \
|
||||||
--amend git.cryptic.systems/volker.raschek/docker-compose:${TAG}-arm64
|
--amend git.cryptic.systems/volker.raschek/docker-compose:${TAG}-arm64
|
||||||
|
|
||||||
docker manifest push git.cryptic.systems/volker.raschek/docker-compose:${TAG}
|
docker manifest push git.cryptic.systems/volker.raschek/docker-compose:${TAG}
|
||||||
|
|
||||||
|
sync-to-hub-docker-io:
|
||||||
|
needs:
|
||||||
|
- push-manifest
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Copy images to docker.io
|
||||||
|
run: |
|
||||||
|
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||||
|
|
||||||
|
apt-get update --yes
|
||||||
|
apt-get install --yes skopeo
|
||||||
|
skopeo copy \
|
||||||
|
--all \
|
||||||
|
--dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \
|
||||||
|
--dest-username ${{ secrets.DOCKER_IO_USERNAME }} \
|
||||||
|
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
|
||||||
|
--src-username volker.raschek \
|
||||||
|
docker://git.cryptic.systems/volker.raschek/docker-compose:${TAG} \
|
||||||
|
docker://docker.io/volkerraschek/docker-compose:${TAG}
|
22
.gitea/workflows/update-docker-hub-description.yaml
Normal file
22
.gitea/workflows/update-docker-hub-description.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Update Docker Hub Description
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- README.md
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-description-on-hub-docker-io:
|
||||||
|
runs-on:
|
||||||
|
- ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4.2.2
|
||||||
|
- uses: peter-evans/dockerhub-description@v4.0.2
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_IO_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_IO_PASSWORD }}
|
||||||
|
repository: volkerraschek/docker-compose
|
||||||
|
readme-filepath: README.md
|
@ -56,8 +56,6 @@ MD013:
|
|||||||
tables: false
|
tables: false
|
||||||
# Include headings
|
# Include headings
|
||||||
headings: true
|
headings: true
|
||||||
# Include headings
|
|
||||||
headers: true
|
|
||||||
# Strict length checking
|
# Strict length checking
|
||||||
strict: false
|
strict: false
|
||||||
# Stern length checking
|
# Stern length checking
|
||||||
@ -70,11 +68,6 @@ MD022:
|
|||||||
# Blank lines below heading
|
# Blank lines below heading
|
||||||
lines_below: 1
|
lines_below: 1
|
||||||
|
|
||||||
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
|
|
||||||
MD024:
|
|
||||||
# Only check sibling headings
|
|
||||||
allow_different_nesting: true
|
|
||||||
|
|
||||||
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
|
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
|
||||||
MD025:
|
MD025:
|
||||||
# Heading level
|
# Heading level
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM docker.io/library/golang:1.24.2-alpine3.21 AS build
|
FROM docker.io/library/golang:1.24.4-alpine3.21 AS build
|
||||||
|
|
||||||
ARG DC_VERSION=main
|
ARG DC_VERSION=main
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ RUN git clone https://github.com/docker/compose.git --branch ${DC_VERSION} docke
|
|||||||
cd docker-compose && \
|
cd docker-compose && \
|
||||||
make DESTDIR=/cache
|
make DESTDIR=/cache
|
||||||
|
|
||||||
FROM docker.io/library/alpine:3.21
|
FROM docker.io/library/alpine:3.22
|
||||||
|
|
||||||
COPY --from=build /cache/docker-compose /usr/bin/docker-compose
|
COPY --from=build /cache/docker-compose /usr/bin/docker-compose
|
||||||
|
|
||||||
|
5
Makefile
5
Makefile
@ -1,6 +1,6 @@
|
|||||||
# DC_VERSION
|
# DC_VERSION
|
||||||
# Only required to install a specifiy version
|
# Only required to install a specify version
|
||||||
DC_VERSION?=v2.35.0 # renovate: datasource=github-releases depName=docker/compose
|
DC_VERSION?=v2.37.1 # renovate: datasource=github-releases depName=docker/compose
|
||||||
|
|
||||||
# CONTAINER_RUNTIME
|
# CONTAINER_RUNTIME
|
||||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a container runtime. This is needed to start and
|
# The CONTAINER_RUNTIME variable will be used to specified the path to a container runtime. This is needed to start and
|
||||||
@ -34,7 +34,6 @@ container-image/build:
|
|||||||
PHONY:=container-image/delete
|
PHONY:=container-image/delete
|
||||||
container-image/delete:
|
container-image/delete:
|
||||||
- ${CONTAINER_RUNTIME} image rm ${DC_IMAGE_FULLY_QUALIFIED}
|
- ${CONTAINER_RUNTIME} image rm ${DC_IMAGE_FULLY_QUALIFIED}
|
||||||
- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL}
|
|
||||||
|
|
||||||
# PUSH CONTAINER IMAGE
|
# PUSH CONTAINER IMAGE
|
||||||
# =====================================================================================================================
|
# =====================================================================================================================
|
||||||
|
20
README.md
20
README.md
@ -1,9 +1,21 @@
|
|||||||
# docker-compose-docker
|
# docker-compose
|
||||||
|
|
||||||
[](https://hub.docker.com/r/volkerraschek/docker-compose)
|
[](https://hub.docker.com/r/volkerraschek/docker-compose)
|
||||||
|
|
||||||
This project contains all sources to build the container image `docker.io/volkerraschek/docker-compose`. The primary
|
This project contains all sources to build the container image `git.cryptic.systems/volker.raschek/docker-compose`. The
|
||||||
goal of this project is to package the binary `docker-compose` as container image. The source code of the binary can be
|
primary goal of this project is to package the binary `docker-compose` as container image. The source code of the binary
|
||||||
found in the upstream project of [docker/compose](https://github.com/docker/compose).
|
can be found in the upstream project of [docker/compose](https://github.com/docker/compose).
|
||||||
|
|
||||||
The workflow or how `docker-compose` can in general be used is documented [here](https://docs.docker.com/compose/).
|
The workflow or how `docker-compose` can in general be used is documented [here](https://docs.docker.com/compose/).
|
||||||
|
Nevertheless, here are some examples of how to use the container image.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
IMAGE_VERSION=2.34.0
|
||||||
|
docker run \
|
||||||
|
--rm \
|
||||||
|
--volume ./path/to/docker-compose.yml:/workdir/docker-compose.yml:ro \
|
||||||
|
--volume /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
--workdir /workdir \
|
||||||
|
git.cryptic.systems/volker.raschek/docker-compose:${IMAGE_VERSION} \
|
||||||
|
ps
|
||||||
|
```
|
||||||
|
@ -1,5 +1,16 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"customManagers": [
|
||||||
|
{
|
||||||
|
"fileMatch": ["^README\\.md$"],
|
||||||
|
"matchStrings": [
|
||||||
|
"VERSION=(?<currentValue>.*)"
|
||||||
|
],
|
||||||
|
"depNameTemplate": "volker.raschek/docker-compose",
|
||||||
|
"datasourceTemplate": "docker",
|
||||||
|
"registryUrlTemplate": "https://git.cryptic.systems"
|
||||||
|
}
|
||||||
|
],
|
||||||
"extends": [
|
"extends": [
|
||||||
"local>volker.raschek/renovate-config:default#master",
|
"local>volker.raschek/renovate-config:default#master",
|
||||||
"local>volker.raschek/renovate-config:container#master",
|
"local>volker.raschek/renovate-config:container#master",
|
||||||
|
Reference in New Issue
Block a user