Skip to content

Commit 9c76d0e

Browse files
committed
More Anchore fixes.
Alpine is 3.11 these days. I had hardcoded 3.10. Hardcode 3.11 to get it running and then figure out how to determine python version and substitute it into COPY and RUN commands.
1 parent f3f7cbc commit 9c76d0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/Docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ RUN set -xv && if [ "$source" = "local" ] || \
9595
if [ "$source" = "local_pip" ]; then cd install && pip install \
9696
--use-feature=in-tree-build . ; fi; \
9797
if [ "$source" = "pypi" ]; then pip install roundup; \
98-
cp -ril /usr/local/lib/python3.10/site-packages/usr/local/share/* \
98+
cp -ril /usr/local/lib/python3.11/site-packages/usr/local/share/* \
9999
/usr/local/share; fi
100100

101101
# Allow user to add more modules during build
@@ -137,7 +137,7 @@ LABEL "org.roundup-tracker.vendor"="Roundup Issue Tracker Team" \
137137

138138

139139
# pull over built assets
140-
COPY --from=build /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages/
140+
COPY --from=build /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages/
141141
COPY --from=build /usr/local/bin/roundup* /usr/local/bin/
142142
COPY --from=build /usr/local/share /usr/local/share/
143143
COPY scripts/Docker/roundup_start .

0 commit comments

Comments
 (0)