Skip to content

Commit

Permalink
Merge pull request #177 from ursais/add-ubuntu-22.04
Browse files Browse the repository at this point in the history
[ADD] Ubuntu 22.04
  • Loading branch information
max3903 authored May 4, 2022
2 parents 14f910e + 150f0d9 commit 3ad3692
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ This repository contains Dockerfile files used to build solutions provided by

* [18.04](https://github.com/ursais/docker/blob/master/ubuntu/18.04/Dockerfile)
* [20.04](https://github.com/ursais/docker/blob/master/ubuntu/20.04/Dockerfile)
* [22.04](https://github.com/ursais/docker/blob/master/ubuntu/22.04/Dockerfile)

# Support

Expand Down
7 changes: 4 additions & 3 deletions frepple/6/Dockerfile
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 \
Expand All @@ -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 \
Expand Down
6 changes: 3 additions & 3 deletions frepple/6/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jdcal == 1.4.1
Markdown == 3.1.1
openpyxl == 2.6.2
lxml == 4.6.5
PyJWT == 1.7.1
requests == 2.23.0
python-dateutil == 2.8.1
pillow == 9.0.1
Pillow == 9.1.0
psutil == 5.7.3
PyJWT == 1.7.1
python-dateutil == 2.8.1
https://github.com/frePPLe/django/tarball/frepple_6.0

# Postgres database connection
Expand Down
28 changes: 28 additions & 0 deletions ubuntu/22.04/Dockerfile
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

0 comments on commit 3ad3692

Please sign in to comment.