Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 1.38 KB

README.md

File metadata and controls

47 lines (39 loc) · 1.38 KB

TYPO3-build 👷

How to build a Docker container

  1. Go to the target directory e.g cd php73

  2. Build and deploy Docker container. Ensure you have the required rights to push into the HDNET organization.

    docker login
    docker build -f ./Dockerfile -t hdnet/typo3-build:<TAG> .
    docker push hdnet/typo3-build:<TAG>

    Use docker buildx to build and push multi-arch images.

    docker buildx build \
     --push \
     --platform linux/amd64,linux/arm64 \
     -f ./Dockerfile \
     -t hdnet/typo3-build:<TAG> .

    Use generic Dockerfile (php8x-node-x/), you can replace --push with --load to first try the tag locally.

    docker buildx build --push \
     --platform linux/amd64,linux/arm64 \
     --build-arg php_version=8.2 \
     --build-arg node_version=lts \
     --build-arg npm_version=latest \
     -f php8x-node-x/Dockerfile \
     -t hdnet/typo3-build:php8.2-node-lts php8x-node-x

Images

Directory Image
/php70 hdnet/typo3-build:php7.0
/php71 hdnet/typo3-build:php7.1
/php73 hdnet/typo3-build:php7.3
/php74 hdnet/typo3-build:php7.4
/php74-node-lts hdnet/typo3-build:php7.4-node-lts
/php80-node-lts hdnet/typo3-build:php8.0-node-lts
/php80-node-16 hdnet/typo3-build:php8.0-node-16
/php80-node-18 hdnet/typo3-build:php8.0-node-18
/php81-node-lts hdnet/typo3-build:php8.1-node-lts