Create fp8-alpine-node from git tags
1.6K
Simple extension of node:X.Y.Z-alpine that sets and exposes yarn cache directory.
node:10.15.3-alpine1.13.0node:8.14.0-alpine1.12.3The objective of this docker image is to pair the version of node and yarn. As result,
the tag used will be based on the version of alpine image used. Assuming that node:X.Y.Z-alpine
is used as based image, the version for this docker image will be:
fp8-alpine-node:X.Y.nWhere n is the build number of fp8-alpine-node project.
python: package that uses node-gyp
requires python. The dependecies are make gcc g++ pythongit: some packages has git based dependencies so git is needs to be added to make
those packages work. E.g.: websocket:1.0.28openssh-client: This is needed when git based dependency is set as ssh pathdocker run \
-v /var/data/yarn/:/var/data/yarn/ \
--name $(DOCKER_IMAGE_NAME) \
-it $(DOCKER_IMAGE) /bin/sh
make connect: Create image and attach to running instancemake setup: Create imagemake clean: Delete created imagesdocker logindocker tag farport/fp8-alpine-node farport/fp8-alpine-node:<version>docker push farport/fp8-alpine-node:<version>Content type
Image
Digest
Size
90.1 MB
Last updated
almost 8 years ago
docker pull farport/fp8-alpine-node