Sign inSign up

freehackquest/debian-10-for-cpp-build

By freehackquest

•Updated almost 7 years ago

Docker with preinstalled g++, cmake, make, mysql client library, pkg-config and etc...

Image
0

10K+

freehackquest/debian-10-for-cpp-build repository overview

⁠debian-10-for-cpp-build

Docker with preinstalled g++, cmake, make, mysql client library, pkg-config and etc...

If need you can expand this list, I will not be against.

For release you can must use symmentric docker image:

https://github.com/freehackquest/debian-10-cpp-common⁠

⁠Example dockerfile usage

# stage 0: build binary
FROM freehackquest/debian-10-for-cpp-build:latest
LABEL "maintainer"="Your Name <[email protected]>"
LABEL "repository"="https://github.com/name/repository"

COPY ./your-project /root/sources
WORKDIR /root/sources
RUN ./clean.sh && ./build_simple.sh

# stage 1: release
FROM freehackquest/debian-10-for-cpp-common:latest
LABEL "maintainer"="Your Name <[email protected]>"
LABEL "repository"="https://github.com/name/repository"

COPY --from=0 /root/sources/your-project.bin /usr/bin/your-project.bin
COPY ./your-project-data /usr/share/your-project-data

EXPOSE 4444
CMD ["your-project.bin","start"]

Tag summary

Content type

Image

Digest

Size

183.3 MB

Last updated

almost 7 years ago

docker pull freehackquest/debian-10-for-cpp-build