ADD file:8e81116368669ed3dd361bc898d61bff249f524139a239fdaf3ec46869a39921 in / |
CMD ["/bin/sh"] |
ENV BITLBEE_COMMIT=3a547ee9dcf5c790f68ee2118389dd27ed471b23 RUNTIME_DEPS= cyrus-sasl cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-scram glib gnutls json-glib libevent libgcrypt libotr libsasl |
/bin/sh -c apk add --update --no-cache --virtual build-dependencies build-base git glib-dev gnutls-dev libevent-dev libgcrypt-dev libotr-dev python3 ; apk add --no-cache --virtual runtime-dependencies ${RUNTIME_DEPS}; cd /root; git clone -n https://github.com/bitlbee/bitlbee; cd bitlbee; git checkout ${BITLBEE_COMMIT}; cp bitlbee.conf /bitlbee.conf; mkdir /bitlbee-data; PYTHON=/usr/bin/python3 ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --events=libevent --otr=plugin --ssl=gnutls --jabber=1 --twitter=1 --plugins=1 --doc=1 --purple=0 --config=/bitlbee-data && make && make install install-bin install-etc install-plugin-otr install-dev; adduser -u 1000 -S bitlbee; addgroup -g 1000 -S bitlbee; chown -R bitlbee:bitlbee /bitlbee-data; touch /var/run/bitlbee.pid; chown bitlbee:bitlbee /var/run/bitlbee.pid; rm -rf /root; mkdir /root; apk del --purge build-dependencies |
/bin/sh -c apk add --no-cache ${RUNTIME_DEPS} |
EXPOSE 6667 |
VOLUME [/bitlbee-data] |
USER bitlbee |
ENTRYPOINT ["/usr/local/sbin/bitlbee" "-F" "-n" "-d" "/bitlbee-data" "-c" "/bitlbee.conf"] |
LABEL org.opencontainers.image.created=2022-06-29T16:14:51Z |
LABEL org.opencontainers.image.revision=7c1fa8b23b732f31e6a2a8f811d181cbe0cbd7fc |
LABEL org.opencontainers.image.source=https://code.pztrn.name/containers/bitlbee-no-libpurple.git |
LABEL org.opencontainers.image.url=https://code.pztrn.name/containers/bitlbee-no-libpurple |