Skip to content

Commit

Permalink
fix: issues in image publish dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm committed Aug 25, 2022
1 parent df4014b commit a36e589
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions docker/Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ WORKDIR /usr/src/app
ENV POETRY_VERSION=1.1.11
ENV POETRY_HOME=/opt/poetry

RUN apt update && apt install --yes curl && apt clean \
&& curl -sSL https://install.python-poetry.org | python - \
&& apt remove --yes curl
RUN apt-get update && apt-get install --yes curl && apt-get clean \
&& curl -sSL https://install.python-poetry.org | python -

ENV PATH="/opt/poetry/bin:$PATH"
RUN ls /opt/poetry/bin
Expand All @@ -24,6 +23,6 @@ COPY acapy_plugin_pickup/ acapy_plugin_pickup/
RUN poetry build

FROM bcgovimages/aries-cloudagent:${ACAPY_TAG}
COPY --from=base /usr/src/app/dist/acapy_plugin_pickup-*-py3-none-any.whl /tmp/acapy_plugin_pickup-*-py3-none-any.whl
COPY --from=base --chown=indy:indy /usr/src/app/dist/acapy_plugin_pickup-*-py3-none-any.whl /tmp/acapy_plugin_pickup-*-py3-none-any.whl
RUN pip install /tmp/acapy_plugin_pickup-*-py3-none-any.whl && \
rm /tmp/acapy_plugin_pickup-*
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "acapy-plugin-pickup"
version = "0.1.0-post0"
version = "0.1.0"
description = "Pickup Protocol for ACA-Py"
authors = ["Daniel Bluhm <[email protected]>", "Micah Peltier <[email protected]>", "Peter Strobel <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit a36e589

Please sign in to comment.