From 4530e10b8220f5527157734b3ce132cba9d3719e Mon Sep 17 00:00:00 2001 From: Ahmed Zetao Yang Date: Mon, 9 Sep 2019 23:15:07 +0800 Subject: [PATCH] chore: using bionic LTS docker base image --- Dockerfile | 4 ++-- netease-cloud-music.yml | 22 ++++++++++++++-------- workspace/netease-cloud-music.yml | 22 ++++++++++++++-------- 3 files changed, 30 insertions(+), 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0a9fe02..207c191 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 " @@ -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 diff --git a/netease-cloud-music.yml b/netease-cloud-music.yml index 87fd726..b3fed00 100644 --- a/netease-cloud-music.yml +++ b/netease-cloud-music.yml @@ -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 . \ No newline at end of file diff --git a/workspace/netease-cloud-music.yml b/workspace/netease-cloud-music.yml index 87fd726..b3fed00 100644 --- a/workspace/netease-cloud-music.yml +++ b/workspace/netease-cloud-music.yml @@ -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 . \ No newline at end of file