Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit abd7725

Browse files
committedOct 16, 2023
Remove unused output image stage
1 parent a071e23 commit abd7725

File tree

2 files changed

+0
-66
lines changed

2 files changed

+0
-66
lines changed
 

‎dockerfiles/Dockerfile

-28
Original file line numberDiff line numberDiff line change
@@ -137,31 +137,3 @@ RUN apt-get update \
137137
COPY --from=build /build/target/release/cratesfyi /usr/local/bin
138138

139139
ENTRYPOINT ["/usr/local/bin/cratesfyi"]
140-
141-
##################
142-
# Output stage #
143-
##################
144-
145-
FROM ubuntu:22.04 AS output
146-
147-
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
148-
git \
149-
libmagic1 \
150-
docker.io \
151-
ca-certificates \
152-
build-essential \
153-
gcc \
154-
pkg-config \
155-
libssl-dev
156-
157-
RUN mkdir -p /opt/docsrs/prefix
158-
159-
COPY --from=build /build/target/release/cratesfyi /usr/local/bin
160-
COPY static /opt/docsrs/static
161-
COPY templates /opt/docsrs/templates
162-
COPY dockerfiles/entrypoint.sh /opt/docsrs/
163-
COPY vendor /opt/docsrs/vendor
164-
165-
WORKDIR /opt/docsrs
166-
ENTRYPOINT ["/opt/docsrs/entrypoint.sh"]
167-
CMD ["daemon", "--registry-watcher=disabled"]

‎dockerfiles/entrypoint.sh

-38
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.