Created
March 13, 2023 05:25
-
-
Save cemtopkaya/427ac63434f8624c294eae0585ba9c06 to your computer and use it in GitHub Desktop.
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
version: "3.9" | |
services: | |
# builder: | |
# build: | |
# context: . | |
# args: | |
# - OUT_DIR=/out | |
# volumes: | |
# - ./out:/out | |
build-dpkg-deb: | |
image: ubuntu:latest | |
# image: ubuntu:xenial | |
container_name: build-dpkg-deb | |
volumes: | |
- ./proje/src/main.cpp:/proje/src/main.cpp | |
- ./proje/debian:/proje/debian | |
working_dir: /proje | |
command: | |
- /bin/bash | |
- -c | |
- | | |
apt-get update | |
apt-get -y install dpkg-dev | |
dpkg-deb -b . deneme.deb | |
tail -f /dev/null | |
# dpkg-buildpackage -us -uc | |
build-dpkg-buildpackage: | |
# image: ubuntu:latest | |
image: jammy-dpkg-dev | |
container_name: build-dpkg-buildpackage | |
volumes: | |
- ./proje/src/main.cpp:/proje/src/main.cpp | |
- ./proje/debian:/proje/debian | |
working_dir: /proje | |
command: | |
- /bin/bash | |
- -c | |
- | | |
apt-get update | |
apt-get -y install dpkg-dev | |
dpkg-buildpackage -us -uc | |
tail -f /dev/null | |
# build-essential devscripts debhelper dh-make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment