Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fmasa/dockerfiles
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: skaut/dockerfiles
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 7 commits
  • 22 files changed
  • 2 contributors

Commits on Mar 13, 2022

  1. cleanup

    sinacek committed Mar 13, 2022
    Copy the full SHA
    bba7eb8 View commit details

Commits on Jan 15, 2023

  1. bump 8.0.27

    sinacek authored Jan 15, 2023
    Copy the full SHA
    6eed1ce View commit details
  2. bump 8.1

    sinacek committed Jan 15, 2023
    Copy the full SHA
    fd549ee View commit details

Commits on Apr 2, 2023

  1. PHP 8.2 added

    sinacek committed Apr 2, 2023
    Copy the full SHA
    52e00b6 View commit details
  2. fix 7.4 build

    sinacek committed Apr 2, 2023
    Copy the full SHA
    def142e View commit details

Commits on Oct 14, 2024

  1. php 8.3 images

    jan-stanek committed Oct 14, 2024
    Copy the full SHA
    80c726c View commit details
  2. Merge pull request #1 from skaut/php8.3

    PHP 8.3 images
    sinacek authored Oct 14, 2024
    Copy the full SHA
    386727f View commit details
34 changes: 20 additions & 14 deletions build_and_push.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
#!/usr/bin/env bash

docker build -t fmasa/lebeda:8.1 lebeda/8.1 --no-cache
docker build -t fmasa/lebeda:8.1-ci lebeda/8.1-ci --no-cache
docker build -t skaut/lebeda:8.3 lebeda/8.3 --no-cache
docker build -t skaut/lebeda:8.3-ci lebeda/8.3-ci --no-cache

docker build -t fmasa/lebeda:8.0 lebeda/8.0 --no-cache
docker build -t fmasa/lebeda:8.0-ci lebeda/8.0-ci --no-cache
docker build -t skaut/lebeda:8.2 lebeda/8.2 --no-cache
docker build -t skaut/lebeda:8.2-ci lebeda/8.2-ci --no-cache

docker build -t fmasa/lebeda:7.4 lebeda/7.4 --no-cache
docker build -t fmasa/lebeda:7.4-ci lebeda/7.4-ci --no-cache
docker build -t skaut/lebeda:8.1 lebeda/8.1 --no-cache
docker build -t skaut/lebeda:8.1-ci lebeda/8.1-ci --no-cache

docker build -t fmasa/lebeda:7.3 lebeda/7.3 --no-cache
docker build -t fmasa/lebeda:7.3-ci lebeda/7.3-ci --no-cache
docker build -t skaut/lebeda:8.0 lebeda/8.0 --no-cache
docker build -t skaut/lebeda:8.0-ci lebeda/8.0-ci --no-cache

docker build -t fmasa/lebeda:7.1 lebeda/7.1 --no-cache
docker build -t fmasa/lebeda:7.1-ci lebeda/7.1-ci --no-cache
docker build -t skaut/lebeda:7.4 lebeda/7.4 --no-cache
docker build -t skaut/lebeda:7.4-ci lebeda/7.4-ci --no-cache

docker build -t fmasa/firefox firefox --no-cache

docker push fmasa/lebeda
docker push fmasa/firefox
docker push skaut/lebeda:8.3
docker push skaut/lebeda:8.3-ci
docker push skaut/lebeda:8.2
docker push skaut/lebeda:8.2-ci
docker push skaut/lebeda:8.1
docker push skaut/lebeda:8.1-ci
docker push skaut/lebeda:8.0
docker push skaut/lebeda:8.0-ci
docker push skaut/lebeda:7.4
docker push skaut/lebeda:7.4-ci
8 changes: 0 additions & 8 deletions firefox/Dockerfile

This file was deleted.

7 changes: 0 additions & 7 deletions firefox/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions firefox/run.sh

This file was deleted.

43 changes: 0 additions & 43 deletions lebeda/7.1-ci/Dockerfile

This file was deleted.

40 changes: 0 additions & 40 deletions lebeda/7.1/Dockerfile

This file was deleted.

4 changes: 1 addition & 3 deletions lebeda/7.4-ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM fmasa/lebeda:7.4

LABEL maintainer="frantisekmasa1@gmail.com"
FROM skaut/lebeda:7.4

# Install build tools
RUN apt-get update && apt-get install -y \
4 changes: 2 additions & 2 deletions lebeda/7.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4.3-apache
FROM php:7.4.33-apache

LABEL maintainer="frantisekmasa1@gmail.com"

@@ -23,7 +23,7 @@ RUN apt-get update \
locales \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd soap mysqli pdo pdo_mysql zip bcmath intl \
&& pecl install xdebug \
&& pecl install xdebug-3.1.5 \
&& rm -rf /var/lib/apt/lists/*

# Install Composer
4 changes: 1 addition & 3 deletions lebeda/8.0-ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM fmasa/lebeda:8.0

LABEL maintainer="frantisekmasa1@gmail.com"
FROM skaut/lebeda:8.0

# Install build tools
RUN apt-get update && apt-get install -y \
4 changes: 1 addition & 3 deletions lebeda/8.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM php:8.0.11-apache

LABEL maintainer="frantisekmasa1@gmail.com"
FROM php:8.0.28-apache

WORKDIR /var/www/html

4 changes: 1 addition & 3 deletions lebeda/8.1-ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM fmasa/lebeda:8.1

LABEL maintainer="frantisekmasa1@gmail.com"
FROM skaut/lebeda:8.1

# Install build tools
RUN apt-get update && apt-get install -y \
4 changes: 1 addition & 3 deletions lebeda/8.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM php:8.1.0-apache

LABEL maintainer="frantisekmasa1@gmail.com"
FROM php:8.1.16-apache

WORKDIR /var/www/html

10 changes: 4 additions & 6 deletions lebeda/7.3-ci/Dockerfile → lebeda/8.2-ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM fmasa/lebeda:7.3

LABEL maintainer="frantisekmasa1@gmail.com"
FROM skaut/lebeda:8.2

# Install build tools
RUN apt-get update && apt-get install -y \
@@ -20,7 +18,7 @@ RUN curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
fonts-thai-tlwg \
fonts-kacst \
fonts-noto \
ttf-freefont \
fonts-freefont-ttf \
libcups2 \
&& rm -rf /var/lib/apt/lists/*

@@ -29,9 +27,9 @@ RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
&& mkdir -p /usr/share/man/man1 \
&& apt-get install --no-install-recommends -y \
nodejs \
openjdk-8-jre-headless \
openjdk-11-jre-headless \
ca-certificates-java \
&& npm install selenium-standalone@latest -g \
&& npm install selenium-standalone@latest yarn -g \
&& selenium-standalone install \
&& rm -rf /var/lib/apt/lists/*

File renamed without changes.
8 changes: 4 additions & 4 deletions lebeda/7.3/Dockerfile → lebeda/8.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM php:7.3.13-apache

LABEL maintainer="frantisekmasa1@gmail.com"
FROM php:8.2.4-apache

WORKDIR /var/www/html

@@ -21,7 +19,7 @@ RUN apt-get update \
libxml2-dev \
libzip-dev \
locales \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd soap mysqli pdo pdo_mysql zip bcmath intl \
&& pecl install xdebug \
&& rm -rf /var/lib/apt/lists/*
@@ -42,6 +40,8 @@ ADD 000-default.conf /etc/apache2/sites-enabled/000-default.conf
RUN ln -s /etc/apache2/mods-available/headers.load /etc/apache2/mods-enabled \
&& a2enmod rewrite

ADD php.ini /usr/local/etc/php/conf.d/php.ini

# Add startup script
ADD run.sh /run.sh
RUN chmod u+x /run.sh
1 change: 1 addition & 0 deletions lebeda/8.2/php.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
upload_max_filesize=20M
File renamed without changes.
35 changes: 35 additions & 0 deletions lebeda/8.3-ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
FROM skaut/lebeda:8.3

# Install build tools
RUN apt-get update && apt-get install -y \
gnupg2 \
apt-transport-https \
gettext-base \
&& rm -rf /var/lib/apt/lists/*

# Install Google Chrome
RUN curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update && apt-get install --no-install-recommends -y \
google-chrome-stable \
fontconfig \
fonts-ipafont-gothic \
fonts-wqy-zenhei \
fonts-thai-tlwg \
fonts-kacst \
fonts-noto \
fonts-freefont-ttf \
libcups2 \
&& rm -rf /var/lib/apt/lists/*

# Install Selenium
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - \
&& mkdir -p /usr/share/man/man1 \
&& apt-get install --no-install-recommends -y \
nodejs \
openjdk-17-jre-headless \
ca-certificates-java \
&& npm install selenium-standalone@latest yarn -g \
&& selenium-standalone install \
&& rm -rf /var/lib/apt/lists/*

File renamed without changes.
50 changes: 50 additions & 0 deletions lebeda/8.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
FROM php:8.3.8-apache

WORKDIR /var/www/html

# Set www-data UID to first non-root UID
# This should make file permissions inside container working out of the box
# for most of developers.
RUN usermod -u 1000 www-data

# Install PHP extensions and other dependencies
RUN apt-get update \
&& apt-get install -y \
git \
zlib1g-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libpng-dev \
libxml2-dev \
libzip-dev \
locales \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd soap mysqli pdo pdo_mysql zip bcmath intl \
&& pecl install xdebug \
&& rm -rf /var/lib/apt/lists/*

# Install Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

# Install Phing
RUN curl -o /usr/local/bin/phing https://www.phing.info/get/phing-latest.phar && chmod +x /usr/local/bin/phing

# Generate Czech locale
RUN sed -i -e 's/# cs_CZ.UTF-8 UTF-8/cs_CZ.UTF-8 UTF-8/' /etc/locale.gen \
&& dpkg-reconfigure --frontend=noninteractive locales \
&& update-locale LANG=cs_CZ.UTF-8

# Configure Apache
ADD 000-default.conf /etc/apache2/sites-enabled/000-default.conf
RUN ln -s /etc/apache2/mods-available/headers.load /etc/apache2/mods-enabled \
&& a2enmod rewrite

ADD php.ini /usr/local/etc/php/conf.d/php.ini

# Add startup script
ADD run.sh /run.sh
RUN chmod u+x /run.sh

CMD ["/run.sh"]

1 change: 1 addition & 0 deletions lebeda/8.3/php.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
upload_max_filesize=20M
File renamed without changes.