diff --git a/.dockerignore b/.dockerignore index 879c15e..efaf239 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,4 @@ -/target +**/target/ tarpaulin-report.html .env cobertura.xml diff --git a/scripts/publish-bins-docker b/scripts/publish-bins-docker new file mode 100644 index 0000000..878d215 --- /dev/null +++ b/scripts/publish-bins-docker @@ -0,0 +1,11 @@ +FROM realaravinth/librepages:latest as base +RUN echo foo + +FROM debian:bullseye-slim +RUN apt update +RUN apt-get -y --no-install-recommends install gpg tar curl wget +WORKDIR /src +COPY --from=base /usr/local/bin/librepages . +COPY . . +RUN find +CMD ["/src/scripts/bin-publish.sh"]