Sign inSign up

inluxc/dockmage

By inluxc

Updated almost 3 years ago

Docker Container Image with magento installed.

Image
0

433

inluxc/dockmage repository overview

This project have all recent version of Magento 2 ready to use.
I know there is warning about vulnerabilities, as this is only used to CI/CD and local development, i don't mind it.

Its basic use it to develop custom modules for magento and test then in an CI env.

Information:


Website: http://localhost
Admin: http://localhost/admin

User: admin
Password: admin123

Available Magento Versions:
2.4.7 - PHP8.1
Support for the 2.4.7 release line ends on April 19, 2027.
docker run -p 80:80 -p 443:443 --name magento2.4.7 inluxc/dockmage:2.4.7

2.4.6 - PHP8.1
Support for the 2.4.6 release line ends on March 14, 2026.
docker run -p 80:80 -p 443:443 --name magento2.4.6 inluxc/dockmage:2.4.6

2.4.5 - PHP8.1
Support for the 2.4.5 release line ends on August 9, 2025.
docker run -p 80:80 -p 443:443 --name magento2.4.5 inluxc/dockmage:2.4.5

2.4.4 - PHP8.1
Support for the 2.4.4 release line ends on April 12, 2025.
docker run -p 80:80 -p 443:443 --name magento2.4.4 inluxc/dockmage:2.4.4

2.4.3 -PHP 7.4
Support for the 2.4.0-2.4.3 release line ended on November 28, 2022.
docker run -p 80:80 -p 443:443 --name magento2.4.3 inluxc/dockmage:2.4.3

Available MageOS Versions:
1.0.1 - PHP8.1
Support for the 2.4.7 release line ends on April 19, 2027.
docker run -p 80:80 -p 443:443 --name mageos1.0.1 inluxc/dockmage:os1.0.1
Module Development and Testing
docker-compose.yml
version: '3.5'
name: 'magento-plugin'
services:
  mage243:<
    image: inluxc/dockmage:2.4.3
    restart: unless-stopped
    ports:
      - '80:80'
    volumes:
      # Mount Module Code to Container
      - ./src/app/code/Diller:/var/www/html/app/code/Diller
      # Mount Magento Composer Credentials
      - ./auth.json:/var/www/html/auth.json
      # Mount Module Init Module Commands
      - ./custom_module.sh:/var/www/boot_end.sh

custom_module.sh

#!/bin/bash
echo "Start Module Installation"
bin/magento module:enable MyBrand_MyModule
bin/magento setup:upgrade
bin/magento setup:di:compile
chmod 777 -R var/ pub/
echo "Installation Complete"

auth.json

{
    "http-basic": {
        "repo.magento.com": {
            "username": "",
            "password": ""
        }
    },
}


Should not be used for Production.
Is was built based on Dockware project by dasistweb GmbH.

Tag summary

Content type

Image

Digest

sha256:560790d44

Size

860.1 MB

Last updated

almost 3 years ago

docker pull inluxc/dockmage:2.4.6