Fix manifest

This commit is contained in:
Aode (lion) 2021-11-10 14:51:22 -05:00
parent 525bbfce72
commit 02e3f1e2e2
2 changed files with 5 additions and 3 deletions

View file

@ -41,7 +41,8 @@ ARG GID=991
RUN \
addgroup -g "${GID}" app && \
adduser -D -G app -u "${UID}" -g "" -h /opt/app app && \
apk add nodejs npm tini
apk add nodejs npm tini && \
mkdir /etc/dimension
USER app
@ -51,5 +52,6 @@ WORKDIR /opt/app/matrix-dimension
ENV NODE_ENV=production
EXPOSE 8184
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["npm", "run", "start:app"]

View file

@ -52,12 +52,12 @@ function manifest() {
tag=$1
push=$2
sudo docker manifest create asonix/$REPO:$TAG \
sudo docker manifest create asonix/$REPO:$tag \
-a asonix/$REPO:arm64v8-$tag \
-a asonix/$REPO:amd64-$tag
sudo docker manifest annotate asonix/$REPO:$tag \
asonix/$REPO:arm64v8-$Tag --os linux --arch arm64 --variant v8
asonix/$REPO:arm64v8-$tag --os linux --arch arm64 --variant v8
# sudo docker manifest annotate asonix/$REPO:$tag \
# asonix/$REPO:arm32v7-$tag --os linux --arch arm --variant v7