retrodaredevil / docker-pouchdb-server

A Docker image containing pouchdb-server binary. Made specifically to be compatible on linux/arm/v7 architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-pouchdb-server

A Docker image containing pouchdb-server binary. Made specifically to be compatible on linux/arm/v7 architecture. Many architectures are supported.

This image based off of node and uses pouchdb-server.

https://hub.docker.com/r/retrodaredevil/pouchdb-server

Why PouchDB

Releases

Information for releases can be found here and the tags can be found on the packages page. Using the latest tag is recommended. Tags are split into two parts. These parts are separated by a -. The first part represents the version of the Dockerfile used to build the image. The second part represents the version of pouchdb-server. If the second part is not present in the tag, then it is the latest version of pouchdb-server. For instance latest-4.2.0 represents pouchdb-server 4.2.0 using the latest release.

Running

# TODO

Building Locally

docker buildx create --use
docker buildx build --platform linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x -t retrodaredevil/pouchdb-server:latest .

If you want to run the image locally, instead do:

docker buildx build --platform linux/amd64 --load -t retrodaredevil/pouchdb-server:latest .

If you also want to push

docker login
# paste `docker buildx build ...` command here with --push argument

Why not use alpine as base?

There are issues building/running alpine images on linux/arm/v7. These issues relate to problems running npm install on modern node:alpine images:

The real solution would be that all Raspberry Pis need an updated version, but if you run this you will see that (at the time of writing) it is not updated in the default repositories:

sudo apt-get -s install libseccomp2

About

A Docker image containing pouchdb-server binary. Made specifically to be compatible on linux/arm/v7 architecture


Languages

Language:Dockerfile 100.0%