mirror of
https://github.com/opencardev/aasdk.git
synced 2024-07-03 17:16:56 +02:00
053d69ecf3
* package using cpack (#18) Added build to .gitignore Added vscode tasks to clean, build, package Added CPack support for debian packages * Added gitversion,cmake and last commit epoch as patch version * Switched patch version to use commit hash instead of epoch * Added CPACK_Version * added message to output version * added dockerbuild temp * workflow fix * fixed tabs * fixed depends * fixed typo * typo in Dockerfile * added upload artifact * added deb_architecture * added releases * fixed checkout * added tags * fixed release gha * Added versioning * switch to use commit_timestamp
28 lines
1.6 KiB
Docker
28 lines
1.6 KiB
Docker
FROM debian:buster AS aasdk
|
|
|
|
RUN dpkg --add-architecture armhf
|
|
RUN apt-get update
|
|
RUN apt-get -y install cmake build-essential git
|
|
RUN apt-get -y install gcc-arm-linux-gnueabihf cpp-arm-linux-gnueabihf g++-arm-linux-gnueabihf protobuf-compiler
|
|
RUN apt-get -y install gcc-8-base:armhf libc6:armhf libgcc1:armhf libicu63:armhf libidn2-0:armhf libstdc++6:armhf libunistring2:armhf
|
|
|
|
# These are all the libboost requirements. It would be shorter if libboost-log-dev wasn't a disaster that's being dealt with manually.
|
|
RUN apt-get install -y libprotobuf-dev libusb-1.0.0-dev libssl-dev libboost-dev libboost-system-dev libboost-atomic1.67.0 libboost-chrono1.67.0 libboost-date-time1.67.0 libboost-filesystem1.67.0 libboost-regex1.67.0 libboost-thread1.67.0 libboost-filesystem1.67-dev libboost-thread1.67-dev libboost-date-time1.67-dev
|
|
RUN apt-get install -y libprotobuf-dev:armhf libusb-1.0.0-dev:armhf libssl-dev:armhf libboost-dev:armhf libboost-system-dev:armhf libboost-atomic1.67.0:armhf libboost-chrono1.67.0:armhf libboost-date-time1.67.0:armhf libboost-filesystem1.67.0:armhf libboost-regex1.67.0:armhf libboost-system1.67.0:armhf libboost-thread1.67.0:armhf libboost-filesystem1.67-dev:armhf libboost-thread1.67-dev:armhf libboost-date-time1.67-dev:armhf
|
|
|
|
COPY / /src
|
|
|
|
WORKDIR /src
|
|
|
|
# Import resources
|
|
COPY ./buildenv/patch-libboost-log-deb.sh /src/resources/patch-libboost-log-deb.sh
|
|
COPY ./buildenv/entrypoint.sh /entrypoint.sh
|
|
|
|
# Patch libboost-log-dev and install
|
|
RUN chmod +x ./resources/patch-libboost-log-deb.sh
|
|
RUN ./resources/patch-libboost-log-deb.sh
|
|
|
|
# Make Executable
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"] |