mirror of https://github.com/oxen-io/lokinet
add docker image for nodejs
This commit is contained in:
parent
e28e23171d
commit
da985c4c44
|
@ -0,0 +1,3 @@
|
|||
FROM node:14.16.1
|
||||
RUN /bin/bash -c 'echo "man-db man-db/auto-update boolean false" | debconf-set-selections'
|
||||
RUN /bin/bash -c 'apt-get -o=Dpkg::Use-Pty=0 -q update && apt-get -o=Dpkg::Use-Pty=0 -q dist-upgrade -y && apt-get -o=Dpkg::Use-Pty=0 -q install -y eatmydata gdb cmake git ninja-build pkg-config ccache g++'
|
|
@ -8,6 +8,6 @@ test "x$registry" != "x" || exit 1
|
|||
for file in ${@:2} ; do
|
||||
name="$(echo $file | cut -d'.' -f1)"
|
||||
echo "rebuild $name"
|
||||
docker build -f $file -t $registry/lokinet-ci-$name --pull --no-cache --quiet .
|
||||
docker build -f $file -t $registry/lokinet-ci-$name .
|
||||
docker push $registry/lokinet-ci-$name
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue