Skip to content

Commit

Permalink
Add dockerfile for OpenSUSE Leap and Tumbleweed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 authored and maxirmx committed Apr 19, 2024
1 parent 885f4a1 commit c7c0ec2
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
- 'debian-12-amd64'
- 'debian-11-i386'
- 'debian-10-i386'
- 'opensuse-leap'
- 'opensuse-tumbleweed'

steps:
- name: Checkout
Expand Down
16 changes: 14 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Currently built gpg versions are 2.2.43 for lts, and 2.4.5 for stable.
| 3.3.0
| local build @ /opt/botan/3.3.0

.4+| fedora-38-amd64
.3+| fedora-38-amd64
| 2.19.3
| system shipped
| 2.4.0
Expand All @@ -157,7 +157,7 @@ Currently built gpg versions are 2.2.43 for lts, and 2.4.5 for stable.
| lts
| local build @ /opt/gpg/lts

.4+| fedora-39-amd64
.3+| fedora-39-amd64
| 2.19.3
| system shipped
| 2.4.4
Expand All @@ -171,6 +171,18 @@ Currently built gpg versions are 2.2.43 for lts, and 2.4.5 for stable.
| lts
| local build @ /opt/gpg/lts

| opensuse-leap
| 2.19.3
| system shipped
| 2.2.27
| system shipped

| opensuse-tumbleweed
| 2.19.3
| system shipped
| 2.4.5
| system shipped

|===

### Helper script
Expand Down
20 changes: 20 additions & 0 deletions opensuse-leap.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM opensuse/leap:latest

ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ENV LC_LANG=C.UTF-8
ENV ARCH=x64
ENV CPU=x86_64
ENV OS=linux
# For libiconv
ENV LD_LIBRARY_PATH=/usr/local/lib

ARG CC=gcc
ARG CXX=g++

COPY tools /opt/tools

RUN zypper refresh
RUN zypper -n install sudo wget git libopenssl-devel bison byacc automake cmake python3 \
libjson-c-devel clang gcc gcc-c++ make autoconf libtool gzip bzip2 libbz2-devel \
gettext-tools ncurses-devel zlib-devel asciidoc libbotan-devel llvm gtest
20 changes: 20 additions & 0 deletions opensuse-tumbleweed.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM opensuse/tumbleweed:latest

ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ENV LC_LANG=C.UTF-8
ENV ARCH=x64
ENV CPU=x86_64
ENV OS=linux
# For libiconv
ENV LD_LIBRARY_PATH=/usr/local/lib

ARG CC=gcc
ARG CXX=g++

COPY tools /opt/tools

RUN zypper refresh
RUN zypper -n install sudo wget git libopenssl-devel bison byacc automake cmake python3 \
libjson-c-devel clang gcc gcc-c++ make autoconf libtool gzip bzip2 libbz2-devel \
gettext-tools ncurses-devel zlib-devel asciidoc libbotan-devel llvm gtest

0 comments on commit c7c0ec2

Please sign in to comment.