GithubHelp home page GithubHelp logo

retrodaredevil / docker-pouchdb-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19 KB

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

Dockerfile 100.00%

docker-pouchdb-server's Introduction

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

docker-pouchdb-server's People

Watchers

 avatar

docker-pouchdb-server's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.