Files
docker-bitlbee/Dockerfile
Michele Bologna c9bd1b6cad Fix: remove workdir in Dockerfile
It fixes the following permission problem:

```
% docker-compose up -d
Starting bitlbee ...
Starting bitlbee ... error

ERROR: for bitlbee  Cannot start service app: OCI runtime create failed: container_linux.go:346: starting container process caused "chdir to cwd (\"/root\") set in config.json failed: permission denied": unknown

ERROR: for app  Cannot start service app: OCI runtime create failed: container_linux.go:346: starting container process caused "chdir to cwd (\"/root\") set in config.json failed: permission denied": unknown
ERROR: Encountered errors while bringing up the project.
```
2020-04-18 12:36:34 +02:00

16 lines
425 B
Docker

FROM buildpack-deps:stable-scm
LABEL maintainer="Michele Bologna <github@michelebologna.net>"
LABEL name="BitlBee Docker container by Michele Bologna"
LABEL version="mb-3.6-20200107"
ENV BITLBEE_VERSION=3.6
COPY build.sh /root
RUN /root/build.sh
VOLUME ["/usr/local/etc/bitlbee"]
VOLUME ["/var/lib/bitlbee"]
EXPOSE 6667
CMD ["/usr/local/sbin/bitlbee", "-c", "/usr/local/etc/bitlbee/bitlbee.conf", "-n", "-v"]
USER bitlbee