Skip to content

Commit 28f785f

Browse files
committed
Prepare for automatic builds
1 parent 46c327a commit 28f785f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM ubuntu:16.04
1+
FROM debian:buster
22
LABEL maintainer="WDCommunity <https://github.com/wdcommunity>"
33

44
ENV LANG C.UTF-8
55

6-
# Manage i386 arch
7-
RUN dpkg --add-architecture i386; \
8-
apt-get update; \
9-
apt-get install openssl libxml2:i386 -y
6+
RUN apt-get update; \
7+
apt-get install openssl libxml2 -y
8+
9+
COPY mksapkg /usr/bin
1010

1111
# Volume pointing to spksrc sources
1212
VOLUME /wdpksrc

build_and_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fi
3535
# TODO: check if this docker image exists
3636

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

4040
# find latest package
4141
MODEL="$3"

mksapkg

2.95 KB
Binary file not shown.

0 commit comments

Comments
 (0)