Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
88
Issues
88
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
57889718
Commit
57889718
authored
Sep 11, 2018
by
louiz’
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use alpine's botan package in the docker image
parent
cd201774
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
15 deletions
+5
-15
docker/biboumi/alpine/Dockerfile
docker/biboumi/alpine/Dockerfile
+5
-15
No files found.
docker/biboumi/alpine/Dockerfile
View file @
57889718
...
...
@@ -5,16 +5,10 @@
# This is the prefered way to build the release image, used by the
# end users, in production.
FROM
docker.io/alpine:
latest
as builder
FROM
docker.io/alpine:
edge
as builder
RUN
apk add
--no-cache
--virtual
.build cmake expat-dev g++ git libidn-dev
\
make postgresql-dev python2 sqlite-dev udns-dev util-linux-dev
RUN
git clone https://github.com/randombit/botan.git
&&
\
cd
botan
&&
\
./configure.py
--prefix
=
/usr
&&
\
make
-j8
&&
\
make
install
make postgresql-dev sqlite-dev udns-dev botan-dev util-linux-dev
RUN
git clone git://git.louiz.org/biboumi
&&
\
mkdir
./biboumi/build
&&
\
...
...
@@ -25,19 +19,15 @@ RUN git clone git://git.louiz.org/biboumi && \
-DWITH_SQLITE3
=
1
\
-DWITH_LIBIDN
=
1
\
-DWITH_POSTGRESQL
=
1
&&
\
make
-j8
&&
\
make
&&
\
make
install
# ---
FROM
docker.io/alpine:
latest
FROM
docker.io/alpine:
edge
RUN
apk add
--no-cache
libidn libpq libstdc++ libuuid postgresql-libs
\
sqlite-libs udns expat ca-certificates
COPY
--from=builder /usr/bin/botan /usr/bin/botan
COPY
--from=builder /usr/lib/libbotan* /usr/lib/
COPY
--from=builder /usr/lib/pkgconfig/botan-2.pc /usr/lib/pkgconfig/botan-2.pc
sqlite-libs udns expat ca-certificates botan
COPY
--from=builder /etc/biboumi /etc/biboumi
COPY
--from=builder /usr/bin/biboumi /usr/bin/biboumi
...
...
louiz’
@louiz
mentioned in commit
eb082d15
·
Sep 12, 2018
mentioned in commit
eb082d15
mentioned in commit eb082d152dbf682e3c670e2ab6091298b01a1e63
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment