2022-10-09 12:08:23 -06:00
|
|
|
#########################################################################################################
|
|
|
|
# CouchDB Build
|
|
|
|
# NOTE: the context for this build should be the root of the repository.
|
|
|
|
#########################################################################################################
|
2022-10-08 20:40:33 -06:00
|
|
|
FROM couchdb:3.2
|
|
|
|
|
2022-10-09 12:08:23 -06:00
|
|
|
ARG S6_ARCH=amd64
|
|
|
|
RUN curl https://github.com/just-containers/s6-overlay/releases/download/v1.21.8.0/s6-overlay-${S6_ARCH}.tar.gz -L -s --output /tmp/s6-overlay-${S6_ARCH}.tar.gz \
|
|
|
|
&& tar xzf /tmp/s6-overlay-${S6_ARCH}.tar.gz -C / \
|
|
|
|
&& rm -rf /tmp/s6-overlay-${S6_ARCH}.tar.gz
|
|
|
|
|
2022-10-10 09:11:00 -06:00
|
|
|
COPY /docker/couchdb/local.ini /opt/couchdb/etc/local.ini
|
2022-10-09 12:08:23 -06:00
|
|
|
COPY /docker/rootfs /
|
2022-10-09 13:59:09 -06:00
|
|
|
RUN rm -rf /etc/services.d/fasten #delete the fasten app from the couchdbase container.
|
2022-10-09 12:08:23 -06:00
|
|
|
|
|
|
|
ENTRYPOINT ["/init"]
|