-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/at/family
- Loading branch information
Showing
15 changed files
with
523 additions
and
124 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
ARG BUILDER_IMAGE=debian:bookworm | ||
ARG MAINTAINER="Andrey Volk <[email protected]>" | ||
|
||
FROM ${BUILDER_IMAGE} AS builder | ||
|
||
ARG BUILD_NUMBER=42 | ||
ARG GIT_SHA=0000000000 | ||
|
||
MAINTAINER ${MAINTAINER} | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
RUN apt-get -q update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get -yq install \ | ||
apt-transport-https \ | ||
build-essential \ | ||
ca-certificates \ | ||
cmake \ | ||
curl \ | ||
debhelper \ | ||
devscripts \ | ||
dh-autoreconf \ | ||
dos2unix \ | ||
doxygen \ | ||
git \ | ||
graphviz \ | ||
libglib2.0-dev \ | ||
libssl-dev \ | ||
lsb-release \ | ||
pkg-config \ | ||
wget | ||
|
||
RUN update-ca-certificates --fresh | ||
|
||
ENV DATA_DIR=/data | ||
WORKDIR ${DATA_DIR} | ||
|
||
COPY . ${DATA_DIR} | ||
RUN git reset --hard HEAD && git clean -xfd | ||
|
||
RUN git config --global --add safe.directory '*' | ||
|
||
# Bootstrap and Build | ||
RUN PACKAGE_RELEASE="${BUILD_NUMBER}.${GIT_SHA}" cmake . \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_INSTALL_PREFIX="/usr" && \ | ||
make package && mkdir OUT && mv -v *.deb OUT/. | ||
|
||
# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) | ||
FROM scratch | ||
COPY --from=builder /data/OUT/ / |
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,51 @@ | ||
ARG BUILDER_IMAGE=arm32v7/debian:bookworm | ||
ARG MAINTAINER="Andrey Volk <[email protected]>" | ||
|
||
FROM ${BUILDER_IMAGE} AS builder | ||
|
||
ARG BUILD_NUMBER=42 | ||
ARG GIT_SHA=0000000000 | ||
|
||
MAINTAINER ${MAINTAINER} | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
RUN apt-get -q update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get -yq install \ | ||
apt-transport-https \ | ||
build-essential \ | ||
ca-certificates \ | ||
cmake \ | ||
curl \ | ||
debhelper \ | ||
devscripts \ | ||
dh-autoreconf \ | ||
dos2unix \ | ||
doxygen \ | ||
git \ | ||
graphviz \ | ||
libglib2.0-dev \ | ||
libssl-dev \ | ||
lsb-release \ | ||
pkg-config \ | ||
wget | ||
|
||
RUN update-ca-certificates --fresh | ||
|
||
ENV DATA_DIR=/data | ||
WORKDIR ${DATA_DIR} | ||
|
||
COPY . ${DATA_DIR} | ||
RUN git reset --hard HEAD && git clean -xfd | ||
|
||
RUN git config --global --add safe.directory '*' | ||
|
||
# Bootstrap and Build | ||
RUN PACKAGE_RELEASE="${BUILD_NUMBER}.${GIT_SHA}" cmake . \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_INSTALL_PREFIX="/usr" && \ | ||
make package && mkdir OUT && mv -v *.deb OUT/. | ||
|
||
# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) | ||
FROM scratch | ||
COPY --from=builder /data/OUT/ / |
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,51 @@ | ||
ARG BUILDER_IMAGE=arm64v8/debian:bookworm | ||
ARG MAINTAINER="Andrey Volk <[email protected]>" | ||
|
||
FROM ${BUILDER_IMAGE} AS builder | ||
|
||
ARG BUILD_NUMBER=42 | ||
ARG GIT_SHA=0000000000 | ||
|
||
MAINTAINER ${MAINTAINER} | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
RUN apt-get -q update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get -yq install \ | ||
apt-transport-https \ | ||
build-essential \ | ||
ca-certificates \ | ||
cmake \ | ||
curl \ | ||
debhelper \ | ||
devscripts \ | ||
dh-autoreconf \ | ||
dos2unix \ | ||
doxygen \ | ||
git \ | ||
graphviz \ | ||
libglib2.0-dev \ | ||
libssl-dev \ | ||
lsb-release \ | ||
pkg-config \ | ||
wget | ||
|
||
RUN update-ca-certificates --fresh | ||
|
||
ENV DATA_DIR=/data | ||
WORKDIR ${DATA_DIR} | ||
|
||
COPY . ${DATA_DIR} | ||
RUN git reset --hard HEAD && git clean -xfd | ||
|
||
RUN git config --global --add safe.directory '*' | ||
|
||
# Bootstrap and Build | ||
RUN PACKAGE_RELEASE="${BUILD_NUMBER}.${GIT_SHA}" cmake . \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_INSTALL_PREFIX="/usr" && \ | ||
make package && mkdir OUT && mv -v *.deb OUT/. | ||
|
||
# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) | ||
FROM scratch | ||
COPY --from=builder /data/OUT/ / |
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,51 @@ | ||
ARG BUILDER_IMAGE=debian:bullseye | ||
ARG MAINTAINER="Andrey Volk <[email protected]>" | ||
|
||
FROM ${BUILDER_IMAGE} AS builder | ||
|
||
ARG BUILD_NUMBER=42 | ||
ARG GIT_SHA=0000000000 | ||
|
||
MAINTAINER ${MAINTAINER} | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
RUN apt-get -q update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get -yq install \ | ||
apt-transport-https \ | ||
build-essential \ | ||
ca-certificates \ | ||
cmake \ | ||
curl \ | ||
debhelper \ | ||
devscripts \ | ||
dh-autoreconf \ | ||
dos2unix \ | ||
doxygen \ | ||
git \ | ||
graphviz \ | ||
libglib2.0-dev \ | ||
libssl-dev \ | ||
lsb-release \ | ||
pkg-config \ | ||
wget | ||
|
||
RUN update-ca-certificates --fresh | ||
|
||
ENV DATA_DIR=/data | ||
WORKDIR ${DATA_DIR} | ||
|
||
COPY . ${DATA_DIR} | ||
RUN git reset --hard HEAD && git clean -xfd | ||
|
||
RUN git config --global --add safe.directory '*' | ||
|
||
# Bootstrap and Build | ||
RUN PACKAGE_RELEASE="${BUILD_NUMBER}.${GIT_SHA}" cmake . \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_INSTALL_PREFIX="/usr" && \ | ||
make package && mkdir OUT && mv -v *.deb OUT/. | ||
|
||
# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) | ||
FROM scratch | ||
COPY --from=builder /data/OUT/ / |
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,51 @@ | ||
ARG BUILDER_IMAGE=arm32v7/debian:bullseye | ||
ARG MAINTAINER="Andrey Volk <[email protected]>" | ||
|
||
FROM ${BUILDER_IMAGE} AS builder | ||
|
||
ARG BUILD_NUMBER=42 | ||
ARG GIT_SHA=0000000000 | ||
|
||
MAINTAINER ${MAINTAINER} | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
RUN apt-get -q update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get -yq install \ | ||
apt-transport-https \ | ||
build-essential \ | ||
ca-certificates \ | ||
cmake \ | ||
curl \ | ||
debhelper \ | ||
devscripts \ | ||
dh-autoreconf \ | ||
dos2unix \ | ||
doxygen \ | ||
git \ | ||
graphviz \ | ||
libglib2.0-dev \ | ||
libssl-dev \ | ||
lsb-release \ | ||
pkg-config \ | ||
wget | ||
|
||
RUN update-ca-certificates --fresh | ||
|
||
ENV DATA_DIR=/data | ||
WORKDIR ${DATA_DIR} | ||
|
||
COPY . ${DATA_DIR} | ||
RUN git reset --hard HEAD && git clean -xfd | ||
|
||
RUN git config --global --add safe.directory '*' | ||
|
||
# Bootstrap and Build | ||
RUN PACKAGE_RELEASE="${BUILD_NUMBER}.${GIT_SHA}" cmake . \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_INSTALL_PREFIX="/usr" && \ | ||
make package && mkdir OUT && mv -v *.deb OUT/. | ||
|
||
# Artifacts image (mandatory part, the resulting image must have a single filesystem layer) | ||
FROM scratch | ||
COPY --from=builder /data/OUT/ / |
Oops, something went wrong.