-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:openziti/ziti-tunnel-sdk-c into iss…
…ue-514-package-for-redhat9
- Loading branch information
Showing
44 changed files
with
766 additions
and
142 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,9 +1,12 @@ | ||
name: 'OpenZiti Tunneler Build Action' | ||
description: 'Builds ziti-edge-tunnel binary and install package for Linux' | ||
author: 'NetFoundry' | ||
outputs: | ||
package_type: | ||
description: lowercase filename suffix of the install package built by this action | ||
inputs: | ||
arch: | ||
description: 'The architecture string used by entrypoint.sh to select CMAKE_TOOLCHAIN_FILE' | ||
required: false | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
args: | ||
- ${{ inputs.arch }} |
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,10 +1,10 @@ | ||
ARG CMAKE_VERSION="3.22.3" | ||
|
||
FROM quay.io/centos/centos:7 | ||
FROM docker.io/library/centos:7 | ||
|
||
ARG CMAKE_VERSION | ||
|
||
LABEL org.opencontainers.image.authors="[email protected],kenneth.bingham@netfoundry.io" | ||
LABEL org.opencontainers.image.authors="support@netfoundry.io" | ||
|
||
USER root | ||
WORKDIR /root/ | ||
|
@@ -25,7 +25,7 @@ RUN yum -y install \ | |
devtoolset-11-libatomic-devel \ | ||
&& yum clean all | ||
|
||
RUN curl -L https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}-linux-x86_64.sh -o cmake.sh \ | ||
RUN curl -sSfL https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}-linux-$(uname -m).sh -o cmake.sh \ | ||
&& (bash cmake.sh --skip-license --prefix=/usr/local) \ | ||
&& rm cmake.sh | ||
|
||
|
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,6 +1,10 @@ | ||
FROM quay.io/rockylinux/rockylinux:8 | ||
ARG CMAKE_VERSION="3.22.3" | ||
|
||
LABEL org.opencontainers.image.authors="[email protected],[email protected]" | ||
FROM rockylinux:8 | ||
|
||
ARG CMAKE_VERSION | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
USER root | ||
WORKDIR /root/ | ||
|
@@ -11,7 +15,6 @@ ENV TZ=UTC | |
|
||
RUN dnf install -y \ | ||
"@Development Tools" \ | ||
cmake \ | ||
dnf-plugins-core \ | ||
gcc-toolset-10 \ | ||
gcc-toolset-10-libatomic-devel \ | ||
|
@@ -29,7 +32,10 @@ RUN dnf install -y \ | |
git \ | ||
&& dnf clean all | ||
|
||
|
||
RUN curl -sSfL https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}-linux-$(uname -m).sh -o cmake.sh \ | ||
&& (bash cmake.sh --skip-license --prefix=/usr/local) \ | ||
&& rm cmake.sh | ||
|
||
WORKDIR /github/workspace | ||
COPY ./entrypoint.sh /root/ | ||
ENTRYPOINT [ "/root/entrypoint.sh" ] |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ FROM ubuntu:trusty | |
|
||
ARG CMAKE_VERSION | ||
|
||
LABEL org.opencontainers.image.authors="[email protected],kenneth.bingham@netfoundry.io" | ||
LABEL org.opencontainers.image.authors="support@netfoundry.io" | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV GIT_DISCOVERY_ACROSS_FILESYSTEM=1 | ||
|
@@ -39,7 +39,7 @@ RUN update-alternatives \ | |
--slave /usr/bin/g++ g++ /usr/bin/g++-9 \ | ||
--slave /usr/bin/gcov gcov /usr/bin/gcov-9 | ||
|
||
RUN curl -L https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}-linux-x86_64.sh -o cmake.sh \ | ||
RUN curl -sSfL https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}-linux-$(uname -m).sh -o cmake.sh \ | ||
&& (bash cmake.sh --skip-license --prefix=/usr/local) \ | ||
&& rm cmake.sh | ||
|
||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ FROM ubuntu:xenial | |
|
||
ARG CMAKE_VERSION | ||
|
||
LABEL org.opencontainers.image.authors="[email protected],kenneth.bingham@netfoundry.io" | ||
LABEL org.opencontainers.image.authors="support@netfoundry.io" | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV GIT_DISCOVERY_ACROSS_FILESYSTEM=1 | ||
|
@@ -28,7 +28,7 @@ RUN apt-get -y update \ | |
zlib1g-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN curl -L https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}-linux-x86_64.sh -o cmake.sh \ | ||
RUN curl -sSfL https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}-linux-$(uname -m).sh -o cmake.sh \ | ||
&& (bash cmake.sh --skip-license --prefix=/usr/local) \ | ||
&& rm cmake.sh | ||
|
||
|
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,10 +1,11 @@ | ||
ARG CMAKE_VERSION="3.22.3" | ||
|
||
# Ubuntu Bionic 18.04 LTS | ||
FROM ubuntu:bionic | ||
|
||
ARG CMAKE_VERSION | ||
|
||
LABEL org.opencontainers.image.authors="[email protected],kenneth.bingham@netfoundry.io" | ||
LABEL org.opencontainers.image.authors="support@netfoundry.io" | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV GIT_DISCOVERY_ACROSS_FILESYSTEM=1 | ||
|
@@ -15,22 +16,22 @@ WORKDIR /root/ | |
|
||
ENV PATH="/usr/local/:${PATH}" | ||
|
||
RUN apt-get -y update \ | ||
RUN apt-get update \ | ||
&& apt-get -y install \ | ||
build-essential \ | ||
curl \ | ||
doxygen \ | ||
git \ | ||
graphviz \ | ||
libsystemd-dev \ | ||
iproute2 \ | ||
pkg-config \ | ||
python3 \ | ||
libsystemd-dev \ | ||
zlib1g-dev \ | ||
libssl-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN curl -L https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}-linux-x86_64.sh -o cmake.sh \ | ||
RUN curl -sSfL https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}-linux-$(uname -m).sh -o cmake.sh \ | ||
&& (bash cmake.sh --skip-license --prefix=/usr/local) \ | ||
&& rm cmake.sh | ||
|
||
|
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
Oops, something went wrong.