Fix package xtractions.
This commit is contained in:
parent
06cf10831e
commit
b5a7340231
12
Dockerfile
12
Dockerfile
@ -12,7 +12,7 @@ WORKDIR snakeoil
|
|||||||
RUN python -m setup bdist
|
RUN python -m setup bdist
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN tar xvzf snakeoil/dist/snakeoil-*.tar.gz --transform 's/usr\/local/usr/'
|
RUN tar xvzf snakeoil/dist/snakeoil-*.tar.gz
|
||||||
|
|
||||||
# Build and install pyDeComp
|
# Build and install pyDeComp
|
||||||
RUN git clone https://github.com/dol-sen/pyDeComp pydecomp
|
RUN git clone https://github.com/dol-sen/pyDeComp pydecomp
|
||||||
@ -21,7 +21,7 @@ WORKDIR pydecomp
|
|||||||
RUN python -m setup bdist
|
RUN python -m setup bdist
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN tar xvzf pydecomp/dist/pyDeComp-*.tar.gz --transform 's/usr\/local/usr/'
|
RUN tar xvzf pydecomp/dist/pyDeComp-*.tar.gz
|
||||||
|
|
||||||
# Clone catalyst repository
|
# Clone catalyst repository
|
||||||
RUN git clone https://anongit.gentoo.org/git/proj/catalyst.git catalyst
|
RUN git clone https://anongit.gentoo.org/git/proj/catalyst.git catalyst
|
||||||
@ -53,17 +53,19 @@ RUN apt-get update \
|
|||||||
#RUN apk add coreutils
|
#RUN apk add coreutils
|
||||||
|
|
||||||
COPY --from=base /snakeoil/dist/snakeoil-*.tar.gz ./
|
COPY --from=base /snakeoil/dist/snakeoil-*.tar.gz ./
|
||||||
RUN tar xvzf snakeoil-*.tar.gz --transform 's/usr\/local/usr/' \
|
RUN tar xvzf snakeoil-*.tar.gz \
|
||||||
&& rm snakeoil-*.tar.gz
|
&& rm snakeoil-*.tar.gz
|
||||||
|
|
||||||
COPY --from=base /pydecomp/dist/pyDeComp-*.tar.gz ./
|
COPY --from=base /pydecomp/dist/pyDeComp-*.tar.gz ./
|
||||||
RUN tar xvzf pyDeComp-*.tar.gz --transform 's/usr\/local/usr/' \
|
RUN tar xvzf pyDeComp-*.tar.gz \
|
||||||
&& rm pyDeComp-*.tar.gz
|
&& rm pyDeComp-*.tar.gz
|
||||||
|
|
||||||
COPY --from=base /catalyst/dist/catalyst-*.tar.gz ./
|
COPY --from=base /catalyst/dist/catalyst-*.tar.gz ./
|
||||||
RUN tar xvzf catalyst-*.tar.gz --transform 's/usr\/local/usr/' \
|
RUN tar xvzf catalyst-*.tar.gz \
|
||||||
&& rm catalyst-*.tar.gz
|
&& rm catalyst-*.tar.gz
|
||||||
|
|
||||||
|
RUN ln -sf /usr/local/share/catalyst /usr/share/catalyst
|
||||||
|
|
||||||
COPY --from=base /usr/local/bin/shash /usr/local/bin/shash
|
COPY --from=base /usr/local/bin/shash /usr/local/bin/shash
|
||||||
|
|
||||||
# Override Stage3 preclean to add perl-cleaner invocation
|
# Override Stage3 preclean to add perl-cleaner invocation
|
||||||
|
Loading…
Reference in New Issue
Block a user