RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ | <trans-unit id="translation.id"> | |
| <source>translation.id</source> | |
| <target>Some text <![CDATA[<a href="%link%">%link_text%</a>]]> end of sentence.</target> | |
| </trans-unit> |
| <?php | |
| namespace AppBundle\Form\EventListener; | |
| use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
| use Symfony\Component\Form\FormEvent; | |
| use Symfony\Component\Form\FormEvents; | |
| class ContextualOptionsFormListener implements EventSubscriberInterface | |
| { | |
| /** |
| FILE SPACING: | |
| # double space a file | |
| sed G | |
| # double space a file which already has blank lines in it. Output file | |
| # should contain no more than one blank line between lines of text. | |
| sed '/^$/d;G' |
| # Modified for OpenBSD | |
| # Assumes being root | |
| # Requires curl to be installed, wget can also be used, relevant commands need to be adjusted. acme.sh supports both. | |
| # Configured to use Cloudflare DNS for verification | |
| # How to use "acme.sh" to set up Lets Encrypt without root permissions | |
| # See https://github.com/Neilpang/acme.sh for more | |
| # This assumes that your website has a webroot at "/var/www/<domain>" | |
| # I'll use the domain "EXAMPLE.com" as an example |
This tutorial describes how to install TLS to a mail server consisting of Postfix and/or Dovecot by using Let's Encrypt certificates with automatic renewing and firewall management.
The system used for this tutorial was:
$ lsb_release -idrc
Distributor ID: UbuntuPodman has recently added support for named volumes, which is super handy.
As of today (2018-01-17), it supports the local driver, which effectively
will bind-mount a tracked directory into one or more containers. It's helpful
to be able to limit the size of data volumes though so that one container
doesn't exhaust the resources of another.
Fortunately, the XFS filesystem let's us handle this natively using "project quotas". XFS allows setting quotas based on username, group, or project. The project quota effectively maps a project ID to a path on a filesystem.