-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adopt focal builder; drop redhat7 and ubuntu bionic cpack builds; ubu…
…ntu install noble build if unknown codename
- Loading branch information
Showing
14 changed files
with
45 additions
and
316 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
46 changes: 0 additions & 46 deletions
46
.github/actions/openziti-tunnel-build-action/redhat-7/Dockerfile
This file was deleted.
Oops, something went wrong.
60 changes: 0 additions & 60 deletions
60
.github/actions/openziti-tunnel-build-action/redhat-7/entrypoint.sh
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
.github/actions/openziti-tunnel-build-action/ubuntu-16.04/Dockerfile
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
.github/actions/openziti-tunnel-build-action/ubuntu-18.04/crossbuild.list
This file was deleted.
Oops, something went wrong.
67 changes: 0 additions & 67 deletions
67
.github/actions/openziti-tunnel-build-action/ubuntu-18.04/entrypoint.sh
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
ARG CMAKE_VERSION="3.26.3" | ||
ARG VCPKG_VERSION="2024.01.12" | ||
|
||
# Ubuntu Bionic 18.04 LTS | ||
FROM ubuntu:bionic | ||
# Ubuntu Noble 24.04 LTS | ||
FROM ubuntu:noble | ||
|
||
ARG CMAKE_VERSION | ||
ARG VCPKG_VERSION | ||
|
||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
|
@@ -14,13 +16,14 @@ ENV TZ=UTC | |
USER root | ||
WORKDIR /root/ | ||
|
||
ENV PATH="/usr/local/:${PATH}" | ||
|
||
RUN apt-get update \ | ||
&& apt-get -y install \ | ||
build-essential \ | ||
crossbuild-essential-armhf \ | ||
gcc-arm-linux-gnueabihf \ | ||
g++-arm-linux-gnueabihf \ | ||
gcc-aarch64-linux-gnu \ | ||
crossbuild-essential-arm64 \ | ||
crossbuild-essential-armhf \ | ||
build-essential \ | ||
curl zip unzip tar \ | ||
doxygen \ | ||
git \ | ||
|
@@ -33,30 +36,29 @@ RUN apt-get update \ | |
ninja-build \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
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 | ||
|
||
RUN dpkg --add-architecture armhf | ||
RUN dpkg --add-architecture arm64 | ||
COPY ./crossbuild.list /etc/apt/sources.list.d/crossbuild.list | ||
RUN sed -Ei 's/^deb/deb [arch=amd64]/g' /etc/apt/sources.list | ||
RUN apt-get update | ||
RUN apt-get -y install \ | ||
zlib1g-dev:armhf \ | ||
zlib1g-dev:arm64 \ | ||
libssl-dev:armhf \ | ||
libssl-dev:arm64 | ||
RUN dpkg --add-architecture arm64 && dpkg --add-architecture armhf | ||
RUN apt-get update \ | ||
&& apt-get -y install \ | ||
libssl-dev:arm64 \ | ||
libssl-dev:armhf \ | ||
zlib1g-dev:arm64 \ | ||
zlib1g-dev:armhf \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
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 | ||
|
||
ENV VCPKG_ROOT=/usr/local/vcpkg | ||
# this must be set on arm. see https://learn.microsoft.com/en-us/vcpkg/users/config-environment#vcpkg_force_system_binaries | ||
ENV VCPKG_FORCE_SYSTEM_BINARIES=yes | ||
|
||
RUN cd /usr/local \ | ||
&& git config --global advice.detachedHead false \ | ||
&& git clone --branch 2023.12.12 https://github.com/microsoft/vcpkg \ | ||
&& git clone --branch "${VCPKG_VERSION}" https://github.com/microsoft/vcpkg \ | ||
&& ./vcpkg/bootstrap-vcpkg.sh -disableMetrics | ||
|
||
WORKDIR /github/workspace | ||
COPY ./entrypoint.sh /root/ | ||
ENTRYPOINT [ "/root/entrypoint.sh" ] | ||
ENTRYPOINT [ "/root/entrypoint.sh" ] |
7 changes: 7 additions & 0 deletions
7
.github/actions/openziti-tunnel-build-action/ubuntu-24.04/crossbuild.list
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,7 @@ | ||
deb [arch=arm64,armhf] http://ports.ubuntu.com/ noble main restricted | ||
deb [arch=arm64,armhf] http://ports.ubuntu.com/ noble-updates main restricted | ||
deb [arch=arm64,armhf] http://ports.ubuntu.com/ noble universe | ||
deb [arch=arm64,armhf] http://ports.ubuntu.com/ noble-updates universe | ||
deb [arch=arm64,armhf] http://ports.ubuntu.com/ noble multiverse | ||
deb [arch=arm64,armhf] http://ports.ubuntu.com/ noble-updates multiverse | ||
deb [arch=arm64,armhf] http://ports.ubuntu.com/ noble-backports main restricted universe multiverse |
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.