Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mytracks committed Oct 12, 2019
1 parent f7da9de commit de5f58a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
23 changes: 21 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
FROM ubuntu:16.04
LABEL MAINTAINER "Dirk Stichling <[email protected]>"

RUN apt-get update && apt-get install -y software-properties-common
RUN apt-get install -y minidlna
RUN apt-get update && apt-get install -y \
software-properties-common \
libexif12 \
libjpeg62 \
libid3tag0 \
libflac8 \
libvorbisfile3 \
sqlite3 \
libavformat53 \
libuuid1 \
curl \
&& rm -rf /var/lib/apt/lists/*

RUN cd /tmp \
&& curl -L -O https://sourceforge.net/projects/minidlna/files/minidlna/1.2.1/minidlna-1.2.1.tar.gz \
&& tar zxvf minidlna-1.2.1.tar.gz \
&& ./configure \
&& make \
&& make install \
&& rm -rf minidlna-1.2.1 \
&& rm minidlna-1.2.1.tar.gz

COPY minidlna.conf /etc/minidlna.conf

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 mytracks
Copyright (c) 2019 Dirk Stichling

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 5 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

docker buildx build --platform linux/arm64 -t mytracks/readymedia:latest_arm64 --push .
docker buildx build --platform linux/arm/v7 -t mytracks/readymedia:latest_arm_v7 --push .
docker buildx build --platform linux/amd64 -t mytracks/readymedia:latest --push .
#docker buildx build --platform linux/arm64 -t mytracks/readymedia:latest_arm64 --push .
#docker buildx build --platform linux/arm/v7 -t mytracks/readymedia:latest_arm_v7 --push .
#docker buildx build --platform linux/amd64 -t mytracks/readymedia:latest --push .

docker buildx build --platform linux/arm64,linux/arm/v7,linux/amd64 -t mytracks/readymedia:latest --push .

0 comments on commit de5f58a

Please sign in to comment.