-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from ursais/add-ubuntu-22.04
[ADD] Ubuntu 22.04
- Loading branch information
Showing
4 changed files
with
36 additions
and
6 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
FROM ursa/ubuntu-18.04:latest | ||
FROM ursa/ubuntu-20.04:latest | ||
MAINTAINER Open Source Integrators <[email protected]> | ||
|
||
# Install FrePPLe | ||
ENV VERSION=6.21.0 | ||
RUN apt update \ | ||
&& apt install -y --no-install-recommends \ | ||
at \ | ||
|
@@ -13,13 +14,13 @@ RUN apt update \ | |
python3-psycopg2 \ | ||
python3-setuptools \ | ||
python3-wheel \ | ||
&& curl -o frepple.deb -sSL https://github.com/frePPLe/frepple/releases/download/6.16.0/ubuntu18-frepple-6.16.0.deb \ | ||
&& curl -o frepple.deb -sSL https://github.com/frePPLe/frepple/releases/download/$VERSION/ubuntu20-frepple-$VERSION.deb \ | ||
&& apt install -y --no-install-recommends ./frepple.deb \ | ||
&& rm -rf /var/lib/apt/lists/* frepple.deb | ||
|
||
# Update the PostgreSQL client to match the server | ||
ENV PGVERSION=14 | ||
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main' > /etc/apt/sources.list.d/pgdg.list \ | ||
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main' > /etc/apt/sources.list.d/pgdg.list \ | ||
&& curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \ | ||
&& apt update \ | ||
&& apt install --no-install-recommends -y postgresql-client-$PGVERSION \ | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM ubuntu:jammy | ||
MAINTAINER Open Source Integrators <[email protected]> | ||
|
||
SHELL ["/bin/bash", "-xo", "pipefail", "-c"] | ||
|
||
# Generate locale C.UTF-8 | ||
ENV LANG C.UTF-8 | ||
ENV TZ=UTC | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
RUN apt update \ | ||
&& apt upgrade -y \ | ||
&& apt install -y --no-install-recommends \ | ||
ca-certificates \ | ||
curl \ | ||
htop \ | ||
iotop \ | ||
rsync \ | ||
tar \ | ||
vim \ | ||
unzip \ | ||
&& apt clean all \ | ||
&& apt autoremove | ||
|
||
# Install dockerize for config files | ||
RUN curl -sfL $(curl -s https://api.github.com/repos/powerman/dockerize/releases/latest \ | ||
| grep -i /dockerize-$(uname -s)-$(uname -m)\" | cut -d\" -f4) \ | ||
| install /dev/stdin /usr/local/bin/dockerize |