Skip to content

Commit

Permalink
Ensure apk repository cache is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
nvllsvm committed Aug 14, 2018
1 parent 4ff8fed commit e45dd28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ install_dependencies() {
# Testing repo for Mono
echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories

apk upgrade --no-cache
apk upgrade

# Build deps
apk add --no-cache -t .dev git ffmpeg-dev mono-dev binutils curl icu libunwind openssl bash zip
apk add -t .dev git ffmpeg-dev mono-dev binutils curl icu libunwind openssl bash zip

# Run deps
apk add --no-cache ffmpeg mono sqlite imagemagick-dev sqlite-dev su-exec
apk add ffmpeg mono sqlite imagemagick-dev sqlite-dev su-exec
}


Expand Down Expand Up @@ -61,5 +61,5 @@ build_emby
cd

cleanup_dependencies
rm -rf "$BUILD_DIR" /build.sh /root /tmp
rm -rf "$BUILD_DIR" /build.sh /root /tmp /var/cache/apk/*
mkdir /root /tmp

0 comments on commit e45dd28

Please sign in to comment.