Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEL-6178 Merge 2.0.6 from upstream #4

Open
wants to merge 235 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
235 commits
Select commit Hold shift + click to select a range
6ac31a6
Remove memory pools from ks_json (#49)
crienzo Sep 27, 2019
ed383a0
Set library version to 2.0.0
crienzo Sep 27, 2019
a147bf6
Fix ks_json when ks_pool debugging is enabled
crienzo Oct 1, 2019
aa8faf5
Add optional array JSON check
crienzo Oct 2, 2019
f05661c
Remove assert that is always true
crienzo Oct 7, 2019
ec1a27e
Fix unused variable warning
crienzo Oct 7, 2019
3d20839
Merge pull request #54 from signalwire/strict-compilation-fixes
crienzo Oct 7, 2019
0226f34
Quiet handle logs
crienzo Oct 7, 2019
3b9bfa0
Added check to skip an invalid 0 sequence on new handles, which spora…
Astaelan Jan 29, 2020
12c3788
Removed errors back to warnings for handle validation
Astaelan Jan 30, 2020
cfbb401
Merge pull request #55 from signalwire/handle-slot-fix
crienzo Jan 30, 2020
6307a7f
Added a kws_create to use before calling kws_connect or kws_init, if …
Astaelan Feb 20, 2020
93553e9
Added init callback to allow modifying SSL extensions and options bef…
Astaelan Feb 20, 2020
e0409f2
Remove ks_handle and ks_throughput
crienzo Mar 3, 2020
60fa659
Merge pull request #59 from signalwire/remove-ks-handle
crienzo Mar 4, 2020
1b5c9e3
Remove extra state from ks_thread. It is now just a platform-indepen…
crienzo Mar 5, 2020
2bec2fa
Merge pull request #60 from signalwire/remove-thread-state
crienzo Mar 5, 2020
ad81a20
Destroy detached thread on exit
crienzo Mar 6, 2020
1a21d00
Merge pull request #61 from signalwire/destroy-detached-threads
crienzo Mar 6, 2020
b50aa4c
version bump
andywolk Mar 26, 2020
dc5bea2
Merge branch 'master' into release
andywolk Mar 29, 2020
637e0e3
Merge branch 'master' into release
andywolk May 10, 2020
b1ca235
Detached thread must own its own memory pool (#76)
crienzo Jul 6, 2020
d9bd092
Version bump Windows package to v2.0
andywolk Jul 22, 2020
0752936
change error name to indicate its due to a remote close request
Mar 25, 2020
c575292
fix testwebsock2 test on platforms without bswap64
Mar 25, 2020
3bbde74
disable cotire due to pch failures on some platforms
Mar 25, 2020
910e528
add ssl pending check to kws_wait_sock
Mar 25, 2020
e9dcbd5
add new KS_POLL_ types
Mar 25, 2020
b522f04
Fix changelog when packaging for Debian.
andywolk Mar 26, 2020
f12fa3e
rearange kws socket shutdown sequence so we more gracefully shut down…
Mar 26, 2020
166c380
add http functions (#70)
seven1240 Mar 29, 2020
32d485e
disable nagle and add keepalive to ws
anthmFS May 10, 2020
0205f21
Fix .drone.yml
andywolk Aug 16, 2020
70ff510
Enable v2.0 branch on Drone
andywolk Aug 25, 2020
10056b9
unused var
Aug 27, 2020
9bc7fbf
Merge pull request #83 from signalwire/update-2
mjerris Aug 27, 2020
c0f6508
null_logger should be file static
crienzo Oct 26, 2020
edbdc4b
[Testing] Move Drone artifacts to signalwire.cloud
andywolk Nov 3, 2020
4ec1998
Merge pull request #88 from signalwire/dronecloud
andywolk Nov 3, 2020
149edf2
Json logging option (#87)
Astaelan Nov 4, 2020
4e5508c
Clear OpenSSL error queue with ERR_clear_error() prior to executing S…
crienzo Dec 1, 2020
22bee52
Merge pull request #89 from signalwire/kws-clear-error
crienzo Dec 2, 2020
2ad5764
Do not detach worker threads in ks_thread_pool
andywolk Jan 8, 2021
cd551a0
Merge pull request #92 from signalwire/threadpoolnodetach
crienzo Feb 19, 2021
b85791a
fix buffer overflow
Sep 22, 2020
318bbe2
Merge pull request #78 from signalwire/versionbumpwindows
crienzo Feb 23, 2021
f05805b
Extend error handling in ks_poll on Windows. Avoid setting POLLERR an…
andywolk Jul 9, 2020
86e08f0
Fix CRYPTO_MEM_CHECK_ON undefined
piotrgregor Aug 3, 2020
dcfa47f
Fix some errors (reported by LGTM) (#73)
stweil Feb 23, 2021
cffc838
Cflags should point to include folder, not to include/libks
nshmyrev Apr 22, 2020
d525252
Revert "Cflags should point to include folder, not to include/libks"
crienzo Feb 23, 2021
1cb6619
Fix use after free of headers_k and headers_v of kws_request_t
andywolk Mar 8, 2021
db9bfa7
Merge branch 'master' into release
andywolk Mar 9, 2021
564ccf5
Return fail instead of assert on ssl errors.
andywolk Mar 17, 2021
df1c968
Merge pull request #95 from signalwire/assert
andywolk Mar 17, 2021
4b5237e
Enable scan build 7 on Drone CI
andywolk May 26, 2021
baba307
scan build: Uninitialized argument value in ks_addr_get_port()
andywolk May 26, 2021
6a7840b
scan build: Branch condition evaluates to a garbage value in ks_check…
andywolk May 26, 2021
66df9c0
Merge pull request #97 from signalwire/scanbuild7_2
crienzo May 27, 2021
86e1960
Fix thread return data
andywolk Jun 8, 2021
9b47c14
Merge pull request #100 from signalwire/fixthreadreturndata
Astaelan Jun 8, 2021
1a64da6
Don't fail if thread already exited
andywolk Jun 8, 2021
f89b351
Merge pull request #101 from signalwire/threadexit
Astaelan Jun 8, 2021
3446706
Queue peek (#99)
Astaelan Jun 10, 2021
e39b9a4
Garbage collect dead threads in a thread pool.
andywolk Jun 10, 2021
8c043fa
Merge pull request #102 from signalwire/threadpoolcleanup
crienzo Jun 10, 2021
ae2388c
Remove spinlocks from memory pools
crienzo Jun 18, 2021
9ad6cf0
Merge pull request #103 from signalwire/remove-spinlock-from-pools
crienzo Jun 18, 2021
d3d77fa
Fix kws_request_reset() leaving garbage pointers in the headers.
andywolk Jun 23, 2021
aa52375
Merge pull request #104 from signalwire/reset
andywolk Jun 24, 2021
27b0043
Update Drone CI signature.
andywolk Jul 16, 2021
a992acf
Enable unit tests on Drone CI
andywolk Jul 27, 2021
ca73951
Merge pull request #105 from signalwire/tests
andywolk Aug 6, 2021
f606a8d
Remove build dependency to libconfig
crienzo Aug 11, 2021
a5f08a0
Merge pull request #106 from signalwire/remove-libconfig
crienzo Aug 11, 2021
c0433fe
read more to handle fragmented tcp writes (#108)
mjerris Sep 14, 2021
bd9bc4f
fix some build warnings on mac
seven1240 Oct 24, 2021
f2c81e5
Fix setting thread priority
jakubkarolczyk Oct 29, 2021
b8b533f
Merge pull request #112 from signalwire/tsetprio_2033
crienzo Nov 2, 2021
620307f
Thread creates with default schedule when there is a problem with set…
jakubkarolczyk Nov 3, 2021
9e9218d
Merge pull request #114 from signalwire/tsetprio_fallback_default
andywolk Nov 3, 2021
6edd3b2
Fix race around thread_create/thread_launch/thread_destroy
jakubkarolczyk Nov 2, 2021
e18f152
Fix overflow when kws_raw_read() fills buffer. Add kws_string_read() …
crienzo Nov 20, 2021
d4afcb3
Merge pull request #119 from signalwire/fix-buffer-overflow
crienzo Nov 21, 2021
d1d2c71
Merge pull request #111 from seven1240/fix-mac-build-warning
crienzo Nov 21, 2021
3d92081
Merge pull request #113 from signalwire/fix-race-threading-create-des…
andywolk Nov 22, 2021
15322d0
Fix kws_raw_read_blocking() zero reads bug for iOS 15.
PSyton Nov 22, 2021
f5bc7ec
kws support add custom headers
wkiswk Nov 22, 2021
2ae6c1e
Add KS_PRI_DEFAULT to initialize ks_thread with OS default priority. …
crienzo Nov 22, 2021
bccc2f3
Merge branch master into release
andywolk Feb 7, 2022
1481a80
version bump
andywolk Feb 7, 2022
e32f31c
Update libks to 1.8.0 on Windows and use openssl 1.1.x
andywolk Feb 9, 2022
0e9ebc7
Merge pull request #122 from signalwire/win180
andywolk Feb 9, 2022
55db922
Update Drone CI signature (#127)
andywolk Aug 8, 2022
2572336
Update Drone CI signature. (#126)
andywolk Aug 8, 2022
2d5d87e
add support for enclosing report (#130)
stephane-alnet Nov 29, 2022
1480073
Add kws_set_global_payload_size_max().
andywolk Jan 16, 2023
4717854
Add payload_size_max param to kws
andywolk Jan 16, 2023
424cd71
Merge pull request #132 from signalwire/payload_size_max
andywolk Jan 16, 2023
46a09ad
Merge pull request #133 from signalwire/kws_set_global_payload_size_max
andywolk Jan 16, 2023
2f0ff74
Bump version to 1.8.2
andywolk Jan 17, 2023
85a575b
Merge pull request #134 from signalwire/bump182
andywolk Jan 18, 2023
6ebb653
Merge branch 'master' into release
andywolk Jan 18, 2023
3b80a08
version bump
andywolk Jan 18, 2023
90f9c71
CMakeList.txt: correct location of «copyright» file
dilyanpalauzov Jan 19, 2023
2eefc0e
Merge pull request #135 from dilyanpalauzov/install_copyright
andywolk Jan 19, 2023
d40400c
Create SECURITY.md
crienzo Feb 17, 2023
c62d06a
Merge pull request #138 from signalwire/security-policy
andywolk Feb 17, 2023
2e064b1
Windows: Add build numbers to pre-compiled binaries. Use openssl 1.1.…
andywolk Feb 20, 2023
81dfcf5
Merge pull request #139 from signalwire/winbuildnum
andywolk Feb 21, 2023
4b2aff7
Fix wrong buffer resize math in kws_read_frame() (#140)
andywolk Mar 1, 2023
9ed54e2
Make nominal CLOSE opcode for kws less chatty with DEBUG level output…
Astaelan Mar 30, 2023
caf845b
Forcing new build
Astaelan Mar 30, 2023
2fb9b85
Fix rounding errors
andywolk Apr 6, 2023
ba234f3
Fix rounding errors
andywolk Apr 6, 2023
7676be1
comment
stephane-alnet Apr 7, 2023
16fcfe8
Merge pull request #143 from signalwire/rounding2
andywolk Apr 10, 2023
8cef832
Merge pull request #144 from signalwire/rounding
andywolk Apr 10, 2023
5816846
Merge branch 'v2.0' into quieter-kws-close
Astaelan Apr 13, 2023
0bfcf4c
Merge pull request #142 from signalwire/quieter-kws-close
Astaelan Apr 25, 2023
8187067
CMakeList.txt: correct location of «copyright» file
dilyanpalauzov Jan 19, 2023
52a3f2a
Copyright 2018-2023
andywolk May 4, 2023
be6382d
Merge pull request #146 from signalwire/v2copyright
andywolk May 4, 2023
57559b6
Update Windows packaging to match latest master changes
andywolk Apr 13, 2023
c68f063
Merge pull request #145 from signalwire/winpackageupdate
andywolk May 4, 2023
64538fc
Rename package to libks2 but keep library name as libks.
andywolk May 2, 2023
0670e4b
Merge pull request #147 from signalwire/package2
andywolk May 11, 2023
1c347b3
Replace __PRETTY_FUNCTION__ with __KS_FUNC__
andywolk May 30, 2023
1eb47ce
Merge pull request #151 from signalwire/pretty
andywolk May 31, 2023
3158c73
ported scan_build
May 26, 2023
c1e3106
run_tests
May 26, 2023
f80d4d1
run test on ubuntu-latest instead of 16 core runner
May 26, 2023
9a68848
forgot to call run_tests.sh
May 26, 2023
b70008d
delete uneeded script and fix typo
May 26, 2023
54bcb45
run_tests.sh
May 26, 2023
231923b
make test fail to see if the logs are in the correct path
May 26, 2023
d5e6def
cat artifacts.html
May 26, 2023
a9749fe
read artifact.html
May 26, 2023
822fd33
upload artifacts.html and notify on failure
May 26, 2023
0da0158
make testtime.c passes and fix the artifact path
May 26, 2023
f6a5a32
try removing cd
May 31, 2023
cbb6efd
Merge pull request #150 from signalwire/min/migrate-to-gha
ayeminag May 31, 2023
83984b4
Rename both package and library name to libks2.
andywolk May 24, 2023
d918c7b
Merge pull request #149 from signalwire/libks2_2
andywolk Jun 16, 2023
c2c6cca
Fix MacOS build
jakubkarolczyk Jun 16, 2023
3f9553d
Fix MacOS build in 2.0
jakubkarolczyk Jun 16, 2023
e758f3c
Merge pull request #153 from signalwire/macos2.0
andywolk Jun 16, 2023
fe33899
Merge pull request #152 from signalwire/macos
andywolk Jun 16, 2023
cab60a1
add support for SNI
stephane-alnet Jun 22, 2023
6770ae3
format
stephane-alnet Jun 22, 2023
8e14a3f
Merge pull request #154 from signalwire/sa/add-sni-support
andywolk Jun 22, 2023
846582a
Bump version to 1.8.4
andywolk Jun 26, 2023
607b4b3
Merge branch 'master' into release
andywolk Jun 26, 2023
0b4ed6d
Merge pull request #155 from signalwire/libks184
andywolk Jun 26, 2023
492532b
add TCP_KEEPINTVL and TCP_KEEPIDLE. set both to 30 seconds. (#160)
Jul 13, 2023
08352db
Apply v2.0 changes to master
andywolk Jul 14, 2023
ddce141
Merge pull request #161 from signalwire/master_to_v2.0
andywolk Jul 14, 2023
aa77ed5
Merge branch 'master' into release
andywolk Jul 14, 2023
277dd06
Fix TCP_KEEPIDLE and TCP_KEEPINTVL which does not exist on MAC
jakubkarolczyk Jul 14, 2023
0a7d18e
Merge pull request #162 from signalwire/fix_macos
andywolk Jul 17, 2023
41fd2a3
Update GHA workflow trigger branch from v2.0 to master
Null-Is-Null Jul 17, 2023
f00dcdd
Merge pull request #163 from signalwire/fix/gha-trigger-branch
andywolk Jul 17, 2023
e0333a4
Bump version to 2.0.1
andywolk Jul 17, 2023
8f924da
Merge pull request #164 from signalwire/libks201
andywolk Jul 17, 2023
12bcfcd
Merge branch 'master' into release
andywolk Jul 17, 2023
16a961a
Disable use of TCP_KEEPIDLE and TCP_KEEPINTVL socket options. Introdu…
andywolk Jul 18, 2023
0783723
Merge pull request #165 from signalwire/ifdefkeepalive
andywolk Jul 18, 2023
bdb7968
Bump version to 2.0.2
andywolk Jul 18, 2023
a5c8a01
Merge pull request #166 from signalwire/bump202
andywolk Jul 18, 2023
423c68c
Merge branch 'master' into release
andywolk Jul 18, 2023
8ea893b
build image and push on merge (#167)
ayeminag Aug 2, 2023
6a4bc39
Revert "build image and push on merge (#167)" (#170)
ryanwi Aug 7, 2023
3551509
maybe fix, at least doesn't crash
anthmFS Sep 6, 2023
a3b58f0
send WSOC_CLOSE when closing websocket connection (per protocol).
Oct 19, 2023
bfa81c2
Merge pull request #172 from signalwire/wsoc_close
andywolk Oct 19, 2023
9e84c34
set mask and use the masking key for the WSOC_CLOSE Reason (per proto…
Oct 22, 2023
fff36c6
Make SSL shutdown procedure strict to openssl documentation.
jakubkarolczyk Nov 2, 2023
620a3b8
Merge pull request #175 from signalwire/tune_ssl_shutdown
andywolk Nov 6, 2023
d5a6be0
Bump version to 2.0.3
andywolk Nov 7, 2023
a8f9394
Merge pull request #176 from signalwire/bump203
andywolk Nov 9, 2023
f9c4a47
Merge branch 'master' into release
andywolk Nov 9, 2023
9ab8480
Merge branch 'master' into release
andywolk Nov 9, 2023
1061879
Merge branch 'master' into realloc_crash
anthmFS Nov 9, 2023
940d659
Merge pull request #171 from signalwire/realloc_crash
anthmFS Nov 9, 2023
188ca1f
fix playload unmask overflow
chucongqing Nov 10, 2023
f1af4fa
Merge pull request #177 from chucongqing/master
andywolk Jan 9, 2024
432a757
Revert "maybe fix, at least doesn't crash"
andywolk Jan 9, 2024
aa64cd9
Merge pull request #184 from signalwire/revert-171-realloc_crash
andywolk Jan 9, 2024
cf6a7f1
Fix build of unit-tests on Windows.
andywolk Jan 9, 2024
248a744
Merge pull request #185 from signalwire/windowsunittests
andywolk Jan 9, 2024
52643ee
WebSockets: move assert out of the loop in kws_read_frame()
andywolk Jan 9, 2024
4f86f0b
Merge pull request #186 from signalwire/assert
andywolk Jan 9, 2024
bef765c
GHA: Add build and publish DEBs workflow.
s3rj1k Jan 22, 2024
670ba93
Merge pull request #189 from signalwire/gha_deb
andywolk Jan 24, 2024
bc43a58
GHA: Use branch name in metarepo branch naming.
s3rj1k Jan 25, 2024
746f2f3
Merge pull request #190 from signalwire/meta_branch_name
s3rj1k Jan 25, 2024
fd5299b
GHA: Set source branch name variable.
s3rj1k Jan 25, 2024
65597bb
Merge pull request #192 from signalwire/source_branch_name
s3rj1k Jan 25, 2024
1f26381
GHA: Trigger build workflow in `release` branch also.
s3rj1k Jan 25, 2024
3f9b7a2
Merge pull request #194 from signalwire/gha_trigger
s3rj1k Jan 25, 2024
a896ee9
GHA: Add DEB armhf support.
s3rj1k Jan 26, 2024
7b26339
Merge pull request #195 from signalwire/armhf_deb
s3rj1k Jan 26, 2024
86269ec
[GHA] Add support for building RPMs using GHA.
s3rj1k Jan 26, 2024
71e2111
Merge pull request #196 from signalwire/gha_rpm
andywolk Jan 29, 2024
9b8a09e
GHA: Fix invalid LIB_NAME value name.
s3rj1k Jan 30, 2024
2653d51
Merge pull request #197 from signalwire/typo
s3rj1k Jan 30, 2024
de9b4cd
Bump version to 2.0.4
andywolk Feb 16, 2024
ad8b7b7
Merge branch 'master' into release
andywolk Feb 16, 2024
6241845
Merge pull request #198 from signalwire/v204
andywolk Feb 19, 2024
273b7f0
Merge branch 'master' into release
andywolk Feb 19, 2024
6713a0a
[cmake] Don't use CPACK_DEBIAN_PACKAGE_RELEASE, set CPACK_DEBIAN_PACK…
s3rj1k Feb 20, 2024
c4d9ba0
Merge pull request #199 from signalwire/cmake
andywolk Mar 4, 2024
aa54525
Check ks buffer pointer overflow before dereferencing it. (#203)
Mar 13, 2024
1a4fb75
[GHA] Use `cicd-docker-build-and-distribute.yml`.
s3rj1k Apr 9, 2024
a1808d5
Merge pull request #206 from signalwire/gha
s3rj1k Apr 9, 2024
2c3cafb
[GHA] Use `meta-repo-content` workflow.
s3rj1k Apr 11, 2024
2431d91
Merge pull request #207 from signalwire/gha
s3rj1k Apr 11, 2024
c1b967b
[GHA] Shorten artifact path store location.
s3rj1k Apr 14, 2024
cea69b7
Merge pull request #208 from signalwire/gha
s3rj1k Apr 15, 2024
2661b49
[GHA] Add `arm64v8` build target.
s3rj1k Apr 16, 2024
d1254bb
Merge pull request #209 from signalwire/arm64
s3rj1k Apr 17, 2024
1f777b0
Bump version to 2.0.5
andywolk Apr 23, 2024
5d0f170
Merge pull request #210 from signalwire/v205
andywolk Apr 23, 2024
c978669
Merge branch 'master' into release
andywolk Apr 23, 2024
dcddb83
Delete drone config (#212)
ryanwi Jun 28, 2024
1769030
Fix return from kws_raw_write on fragmented frame sending (#214)
Astaelan Jul 16, 2024
34d2430
[GHA] Remove unsupported build targets.
s3rj1k Jul 23, 2024
bcaa08f
Merge pull request #215 from signalwire/gha
andywolk Jul 23, 2024
fb4d1f6
Bump version to 2.0.6
andywolk Jul 23, 2024
64824ee
Merge pull request #216 from signalwire/v206
andywolk Jul 23, 2024
3bc8dd0
Merge branch 'master' into release
andywolk Jul 23, 2024
42303be
Merge tag 'v1.8.3' into jira-tel-6175
Oct 1, 2024
9b993cf
Merge tag 'v2.0.6' into jira-tel-6178
Oct 3, 2024
076279d
TEL-6178: Remove ARM platforms.
damirn Jan 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions .drone.yml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/docker/debian/bookworm/amd64/Dockerfile
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/ /
51 changes: 51 additions & 0 deletions .github/docker/debian/bookworm/arm32v7/Dockerfile
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/ /
51 changes: 51 additions & 0 deletions .github/docker/debian/bookworm/arm64v8/Dockerfile
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/ /
51 changes: 51 additions & 0 deletions .github/docker/debian/bullseye/amd64/Dockerfile
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/ /
51 changes: 51 additions & 0 deletions .github/docker/debian/bullseye/arm32v7/Dockerfile
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/ /
51 changes: 51 additions & 0 deletions .github/docker/debian/bullseye/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
ARG BUILDER_IMAGE=arm64v8/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/ /
Loading
Loading