mirror of
https://gitlab.com/Bockiii/deemix-docker.git
synced 2024-08-30 17:32:18 +00:00
ee83830de2
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
26 lines
707 B
Docker
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" ]
|