-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
251 additions
and
42 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
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
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,27 @@ | ||
FROM ubuntu:23.04 | ||
|
||
USER root | ||
RUN echo root:1234 | chpasswd | ||
|
||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y \ | ||
coreutils lsb-release build-essential openssh-server git libssl-dev wget && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN wget "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-linux-x86_64.sh" -O cmake.sh && \ | ||
chmod +x cmake.sh && \ | ||
./cmake.sh --skip-license --prefix=/usr/local && \ | ||
rm ./cmake.sh | ||
|
||
RUN apt-get update && \ | ||
apt-get purge -y \ | ||
wget && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN git clone https://github.com/cmakelib/cmakelib.git /cmakelib | ||
RUN echo "export CMLIB_DIR=/cmakelib" >> /root/.bashrc | ||
|
||
RUN sed -ri 's/#?PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config | ||
RUN mkdir -p /run/sshd | ||
|
||
ENTRYPOINT ["/usr/sbin/sshd", "-D", "-o", "ListenAddress=0.0.0.0"] |
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,27 @@ | ||
FROM ubuntu:23.10 | ||
|
||
USER root | ||
RUN echo root:1234 | chpasswd | ||
|
||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y \ | ||
coreutils lsb-release build-essential openssh-server git libssl-dev wget && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN wget "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-linux-x86_64.sh" -O cmake.sh && \ | ||
chmod +x cmake.sh && \ | ||
./cmake.sh --skip-license --prefix=/usr/local && \ | ||
rm ./cmake.sh | ||
|
||
RUN apt-get update && \ | ||
apt-get purge -y \ | ||
wget && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN git clone https://github.com/cmakelib/cmakelib.git /cmakelib | ||
RUN echo "export CMLIB_DIR=/cmakelib" >> /root/.bashrc | ||
|
||
RUN sed -ri 's/#?PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config | ||
RUN mkdir -p /run/sshd | ||
|
||
ENTRYPOINT ["/usr/sbin/sshd", "-D", "-o", "ListenAddress=0.0.0.0"] |
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 |
---|---|---|
|
@@ -32,7 +32,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"ubuntu2204", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -32,7 +32,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"ubuntu2204", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -29,7 +29,9 @@ | |
"ubuntu2204", | ||
"fleet-os-2", | ||
"debian11", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -29,7 +29,9 @@ | |
"ubuntu2204", | ||
"fleet-os-2", | ||
"debian11", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -27,7 +27,9 @@ | |
"debian11", | ||
"fleet-os-2", | ||
"ubuntu2204", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -27,7 +27,9 @@ | |
"debian11", | ||
"fleet-os-2", | ||
"ubuntu2204", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -30,7 +30,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"fleet-os-2", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -30,7 +30,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"fleet-os-2", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -30,7 +30,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"fleet-os-2", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -30,7 +30,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"fleet-os-2", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -29,7 +29,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"fleet-os-2", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -29,7 +29,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"fleet-os-2", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
example/package/fleet-protocol-internal-client/internal_client_debug.json
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,40 @@ | ||
{ | ||
"Env": {}, | ||
"DependsOn": [ | ||
"pahomqttc" | ||
], | ||
"Git": { | ||
"URI": "https://github.com/bringauto/internal-client-cpp.git", | ||
"Revision": "v1.0.0" | ||
}, | ||
"Build": { | ||
"CMake": { | ||
"Defines": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"BRINGAUTO_INSTALL": "ON", | ||
"BRINGAUTO_PACKAGE": "ON", | ||
"BRINGAUTO_SYSTEM_DEP": "ON" | ||
} | ||
} | ||
}, | ||
"Package": { | ||
"Name": "internal-client", | ||
"VersionTag": "v1.0.0", | ||
"PlatformString": { | ||
"Mode": "auto" | ||
}, | ||
"IsLibrary": true, | ||
"IsDevLib": true, | ||
"IsDebug": true | ||
}, | ||
"DockerMatrix": { | ||
"ImageNames": [ | ||
"ubuntu2004", | ||
"ubuntu2204", | ||
"debian12", | ||
"debian11", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
example/package/fleet-protocol-internal-client/internal_client_release.json
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,39 @@ | ||
{ | ||
"Env": {}, | ||
"DependsOn": [ | ||
"pahomqttc" | ||
], | ||
"Git": { | ||
"URI": "https://github.com/bringauto/internal-client-cpp.git", | ||
"Revision": "v1.0.0" | ||
}, | ||
"Build": { | ||
"CMake": { | ||
"Defines": { | ||
"CMAKE_BUILD_TYPE": "Release", | ||
"BRINGAUTO_INSTALL": "ON", | ||
"BRINGAUTO_PACKAGE": "ON", | ||
"BRINGAUTO_SYSTEM_DEP": "ON" | ||
} | ||
} | ||
}, | ||
"Package": { | ||
"Name": "internal-client", | ||
"VersionTag": "v1.0.0", | ||
"PlatformString": { | ||
"Mode": "auto" | ||
}, | ||
"IsLibrary": true, | ||
"IsDevLib": true, | ||
"IsDebug": false | ||
}, | ||
"DockerMatrix": { | ||
"ImageNames": [ | ||
"ubuntu2204", | ||
"debian12", | ||
"debian11", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -27,7 +27,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"fleet-os-2", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -27,7 +27,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"fleet-os-2", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -38,7 +38,9 @@ | |
"debian11", | ||
"fleet-os-2", | ||
"ubuntu2204", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -38,7 +38,9 @@ | |
"debian11", | ||
"fleet-os-2", | ||
"ubuntu2204", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -29,7 +29,9 @@ | |
"ubuntu2204", | ||
"fleet-os-2", | ||
"debian11", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -29,7 +29,9 @@ | |
"ubuntu2204", | ||
"fleet-os-2", | ||
"debian11", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -28,7 +28,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"fleet-os-2", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -28,7 +28,9 @@ | |
"ubuntu2004", | ||
"debian11", | ||
"fleet-os-2", | ||
"debian12" | ||
"debian12", | ||
"ubuntu2304", | ||
"ubuntu2310" | ||
] | ||
} | ||
} |
Oops, something went wrong.