Skip to content

Commit

Permalink
chore: using bionic LTS docker base image
Browse files Browse the repository at this point in the history
  • Loading branch information
holazt committed Sep 9, 2019
1 parent 9a6e20a commit 4530e10
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 18 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Beware: only meant for use with pkg2appimage-with-docker
# Beware: only use for build netease-music-appimage

FROM ubuntu:19.04
FROM ubuntu:18.04

MAINTAINER "kelleg <utengfei@foxmail.com>"

Expand All @@ -11,7 +11,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
RUN apt-get update && \
apt-get install -y apt-transport-https libcurl3-gnutls libarchive13 wget \
ca-cacert appstream desktop-file-utils fuse gnupg2 build-essential file \
libglib2.0-dev libglib2.0-bin git libcups2 && install -m 0777 -d /workspace
libglib2.0-dev libglib2.0-bin git && install -m 0777 -d /workspace

COPY workspace/* /workspace/
RUN adduser --system --uid 1000 test
Expand Down
22 changes: 14 additions & 8 deletions netease-cloud-music.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,24 @@ app: netease-cloud-music
binpatch: true

ingredients:
dist: deepin15.9
include:
- libc6
- libcups2
dist: stretch
sources:
# - deb http://mirrors.163.com/deepin panda main contrib non-free # Faster mirror for China mainland
- deb http://mirror.math.princeton.edu/pub/deepin panda main contrib non-free
pretend:
- netease-cloud-music 1.2.0.2-1+bstable
- libcups2 2.2.1-8+deb9u3
# - libc6 2.24-11+bdeb9u4
packages:
- netease-cloud-music
- libcups2
# - libc6
script:
- VERSION=1.2.0.2
# - VERSION=1.2.0.2
# - wget -c http://d1.music.126.net/dmusic/netease-cloud-music_1.2.1_amd64_ubuntu_20190428.deb --trust-server-names
# - wget -c http://mirrors.163.com/deepin/pool/main/n/netease-cloud-music/netease-cloud-music_1.2.0.2-1%2bstable_amd64.deb --trust-server-names # Faster mirror for China mainland
- wget -c http://mirror.math.princeton.edu/pub/deepin/pool/main/n/netease-cloud-music/netease-cloud-music_1.2.0.2-1+stable_amd64.deb --trust-server-names
- echo $VERSION > VERSION
# - wget -c http://mirror.math.princeton.edu/pub/deepin/pool/main/n/netease-cloud-music/netease-cloud-music_1.2.0.2-1+stable_amd64.deb --trust-server-names
# - echo $VERSION > VERSION

script:
- cp usr/share/icons/hicolor/scalable/apps/netease-cloud-music.svg .
- cp usr/share/icons/hicolor/scalable/apps/netease-cloud-music.svg .
22 changes: 14 additions & 8 deletions workspace/netease-cloud-music.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,24 @@ app: netease-cloud-music
binpatch: true

ingredients:
dist: deepin15.9
include:
- libc6
- libcups2
dist: stretch
sources:
# - deb http://mirrors.163.com/deepin panda main contrib non-free # Faster mirror for China mainland
- deb http://mirror.math.princeton.edu/pub/deepin panda main contrib non-free
pretend:
- netease-cloud-music 1.2.0.2-1+bstable
- libcups2 2.2.1-8+deb9u3
# - libc6 2.24-11+bdeb9u4
packages:
- netease-cloud-music
- libcups2
# - libc6
script:
- VERSION=1.2.0.2
# - VERSION=1.2.0.2
# - wget -c http://d1.music.126.net/dmusic/netease-cloud-music_1.2.1_amd64_ubuntu_20190428.deb --trust-server-names
# - wget -c http://mirrors.163.com/deepin/pool/main/n/netease-cloud-music/netease-cloud-music_1.2.0.2-1%2bstable_amd64.deb --trust-server-names # Faster mirror for China mainland
- wget -c http://mirror.math.princeton.edu/pub/deepin/pool/main/n/netease-cloud-music/netease-cloud-music_1.2.0.2-1+stable_amd64.deb --trust-server-names
- echo $VERSION > VERSION
# - wget -c http://mirror.math.princeton.edu/pub/deepin/pool/main/n/netease-cloud-music/netease-cloud-music_1.2.0.2-1+stable_amd64.deb --trust-server-names
# - echo $VERSION > VERSION

script:
- cp usr/share/icons/hicolor/scalable/apps/netease-cloud-music.svg .
- cp usr/share/icons/hicolor/scalable/apps/netease-cloud-music.svg .

0 comments on commit 4530e10

Please sign in to comment.