export FQDN="mail.example.org"
export DOMAIN="example.org"
export MAILBOX="user"
export DEBIAN_FRONTEND="noninteractive"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install cmake | |
WORKDIR /root | |
RUN mkdir temp | |
WORKDIR /root/temp | |
RUN curl -OL https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4.tar.gz | |
RUN tar -xzvf cmake-3.27.4.tar.gz | |
WORKDIR /root/temp/cmake-3.27.4 | |
RUN ./bootstrap -- -DCMAKE_BUILD_TYPE:STRING=Release | |
RUN make -j4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will compile and install a static ffmpeg build with support for nvenc in ubuntu. | |
# See the prefix path and compile options if edits are needed to suit your needs. | |
# NOTE: This build is made to target Ubunutu 16.04 Data-Science Azure VMs - With nVidia 418.xx drivers and CUDA SDK 9.0. | |
# It also relies on a hack described in https://trac.ffmpeg.org/ticket/6431#comment:7 to make glibc dynamic still. | |
# Long story short, you need to edit your ffmepg's configure script to avoid failures on libm and libdl. | |
# in function probe_cc, replace the _flags_filter line to: _flags_filter='filter_out -lm|-ldl' |
Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.