Browse Source

Dockerize

buster
Vítězslav Dvořák 4 years ago
parent
commit
2402fd8c2b
  1. 27
      Dockerfile
  2. 6
      Makefile

27
Dockerfile

@ -0,0 +1,27 @@
FROM debian:latest
MAINTAINER Vitex <info@vitexsoftware.cz>
ENV DEBIAN_FRONTEND noninteractive
# Install basics
RUN apt update
RUN apt -y install wget gnupg
RUN wget -O - http://v.s.cz/info@vitexsoftware.cz.gpg.key | apt-key add -
RUN echo deb http://v.s.cz/ stable main | tee /etc/apt/sources.list.d/vitexsoftware.list
RUN apt update
RUN apt -y install flexibee-server
# Expose FlexiBee
EXPOSE 5434
CMD /etc/init.d/flexibee start
ENTRYPOINT ["/bin/bash"]

6
Makefile

@ -14,9 +14,13 @@ clean:
rm -rf debian/flexibee-server debian/flexibee-server-backup
rm -rf debian/*.substvars debian/*.log debian/*.debhelper debian/files debian/debhelper-build-stamp debian/changelog.dch
rm -rf tmp/* *.deb
rm -f package.box
image:
docker build -t vitexsoftware/flexibee-server .
deb:
debuild -i -us -uc -b
.PHONY : install

Loading…
Cancel
Save