Skip to content

Commit

Permalink
Prepare for automatic builds
Browse files Browse the repository at this point in the history
  • Loading branch information
stefaang committed Aug 30, 2020
1 parent 46c327a commit 28f785f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM ubuntu:16.04
FROM debian:buster
LABEL maintainer="WDCommunity <https://github.com/wdcommunity>"

ENV LANG C.UTF-8

# Manage i386 arch
RUN dpkg --add-architecture i386; \
apt-get update; \
apt-get install openssl libxml2:i386 -y
RUN apt-get update; \
apt-get install openssl libxml2 -y

COPY mksapkg /usr/bin

# Volume pointing to spksrc sources
VOLUME /wdpksrc
Expand Down
2 changes: 1 addition & 1 deletion build_and_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fi
# TODO: check if this docker image exists

# create packages
docker run -it -v $(pwd):/wdpksrc wdpk /bin/bash -c "cd wdpk/$PACKAGE; ./build.sh; chown -R 1000:1000 ../../packages/$PACKAGE"
docker run -it -v $(pwd):/wdpksrc wdpk/wdpk /bin/bash -c "cd wdpk/$PACKAGE; ./build.sh; chown -R 1000:1000 ../../packages/$PACKAGE"

# find latest package
MODEL="$3"
Expand Down
Binary file modified mksapkg
Binary file not shown.

0 comments on commit 28f785f

Please sign in to comment.