File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ echo hello world | docker run --rm -i ghcr.io/gabe565/moreutils ts
138
138
If you are building a container and need one of the applets, you can copy them directly to your container during build :
139
139
` ` ` dockerfile
140
140
FROM alpine
141
- COPY --from=ghcr.io/gabe565/moreutils:0 /ts /usr/bin
141
+ COPY --from=ghcr.io/gabe565/moreutils:0 /usr/bin/ ts /usr/bin
142
142
CMD echo hello world | ts
143
143
` ` `
144
144
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ WORKDIR /app
3
3
COPY moreutils .
4
4
RUN ./moreutils install .
5
5
6
- FROM scratch
6
+ FROM alpine
7
+ WORKDIR /data
7
8
LABEL org.opencontainers.image.source="https://github.com/gabe565/moreutils"
8
- COPY --from=source /app /
9
- ENTRYPOINT ["/ moreutils" ]
9
+ COPY --from=source /app /usr/bin
10
+ ENTRYPOINT ["moreutils" ]
You can’t perform that action at this time.
0 commit comments