update Dockerfile
Former-commit-id: c50a3568a5b85b5d8c94cb829108ef796bc1327c
This commit is contained in:
parent
28b0af66af
commit
4dec526816
10
Dockerfile
10
Dockerfile
@ -1,10 +0,0 @@
|
|||||||
FROM ubuntu:18.04
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
RUN apt-get update \
|
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qqy \
|
|
||||||
build-essential nasm autotools-dev autoconf libcurl4-openssl-dev libjemalloc-dev tcl tcl-dev uuid-dev libcurl4-openssl-dev \
|
|
||||||
&& apt-get clean
|
|
||||||
|
|
||||||
CMD make
|
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
This directory contains scripts and components needed to generate debian packages on different distributions/architectures from source
|
This directory contains scripts and components needed to generate debian packages on different distributions/architectures from source
|
||||||
|
|
||||||
|
The 'debian' directory contains debian source code for bionic, buster and later distributions as it uses functions only available with debhelper11+. 'debian_dh9' is used for xenial, stretch and earlier distributions using debhelper9.
|
||||||
|
|
||||||
You will need to install pbuilder `sudo apt install pbuilder` along with other distribution specific dependancies
|
You will need to install pbuilder `sudo apt install pbuilder` along with other distribution specific dependancies
|
||||||
|
|
||||||
Generate deb packages with the following script command run from this directory:
|
Generate deb packages with the following script command run from this directory:
|
||||||
@ -10,7 +12,7 @@ Generate deb packages with the following script command run from this directory:
|
|||||||
$ ./deb-buildsource.sh
|
$ ./deb-buildsource.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
This generates a directory structure, .dsc file, original.tar.gz, .changes files and new changelog for the distribution and architecture installed.
|
This generates a directory structure, .dsc file, original.tar.gz, and new changelog for the distribution and architecture installed.
|
||||||
|
|
||||||
When complete the produced debian packages will be located in deb_files_generated directory.
|
When complete the produced debian packages will be located in deb_files_generated directory.
|
||||||
|
|
||||||
|
@ -56,7 +56,6 @@ RUN \
|
|||||||
ln -s keydb.conf redis.conf
|
ln -s keydb.conf redis.conf
|
||||||
|
|
||||||
# Ensure deps installed for binaries
|
# Ensure deps installed for binaries
|
||||||
# libc6 (>= 2.17), libcurl4 (>= 7.16.2), libgcc1 (>= 1:3.0), libstdc++6 (>= 4.8.1), libuuid1 (>= 2.16), libssl1.1 (>= 1.1.1)
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
\
|
\
|
||||||
savedAptMark="$(apt-mark showmanual)"; \
|
savedAptMark="$(apt-mark showmanual)"; \
|
||||||
@ -68,6 +67,10 @@ RUN set -eux; \
|
|||||||
libstdc++6 \
|
libstdc++6 \
|
||||||
libgcc1 \
|
libgcc1 \
|
||||||
zlib1g \
|
zlib1g \
|
||||||
|
libbz2-1.0 \
|
||||||
|
liblz4-1 \
|
||||||
|
libsnappy1v5 \
|
||||||
|
libzstd1 \
|
||||||
; \
|
; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
### Generate RPM files for the generated binaries
|
### Generate RPM files for the generated binaries
|
||||||
|
|
||||||
After making the binaries you can run the following script
|
After running make to produce keydb binaries you can run the following script to create rpm package
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user