deemix-docker/Dockerfile
Dedy Martadinata Supriyadi ee83830de2 Rebuild image
Add caching

1st time run, use same source

Caching fix

update path jq pkg.targets

another fix pkg.target

Update .gitlab-ci.yml

Test caching nodejs binary

Another cache test

use src test

Update Dockerfile

Pass static url to match project
2022-03-11 00:46:04 +01:00

26 lines
707 B
Docker

FROM lsiobase/alpine:3.15
#Add addiitional packages
RUN apk add --no-cache curl
ARG TARGETARCH
ARG STATIC_URL
ARG BUILDDATE
ENV BUILDDATEENV=${BUILDDATE}
LABEL \
app.deemix.image.created="${BUILDDATE}" \
app.deemix.image.url="https://gitlab.com/Bockiii/deemix-docker" \
app.deemix.image.title="Docker image for Deemix" \
app.deemix.image.description="Docker image for Deemix" \
maintainer="Bocki"
#RUN curl -L -o deemix.zip http://gitlab.com/Bockiii/deemix-src/-/jobs/artifacts/master/download?job=dl_src && \
# unzip deemix
# Need look again in project num
RUN curl -L $STATIC_URL/deemix-server-linux-$TARGETARCH -o deemix-server
COPY root/ /
EXPOSE 6595
ENTRYPOINT [ "/init" ]