Skip to content

Commit

Permalink
[dist] Directly untar archive to destination
Browse files Browse the repository at this point in the history
We are using all these files anyway. So there is no need to store them
temporarily in another directory.
  • Loading branch information
bgeuken committed Feb 8, 2018
1 parent d315de1 commit e838c29
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile.backend
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ FROM openbuildservice/base
RUN /root/bin/docker-bootstrap.sh backend

# Add our sign configuration
ADD dist/obs-signd-conf.tar.bz2 sign
RUN rm -rf /root/.gnupg; \
mv -v /sign/root/.gnupg /root/.gnupg; \
mv -v /sign/root/.phrases /root/.phrases; \
mv -v /sign/etc/ourkeyfile.asc /sign/etc/sign.conf /etc/; \
mv -v /sign/etc/sysconfig/signd /etc/sysconfig/signd
ADD dist/obs-signd-conf.tar.bz2 /

# Run our command
WORKDIR /obs
Expand Down

0 comments on commit e838c29

Please sign in to comment.