Skip to content

Commit

Permalink
docker build appimage
Browse files Browse the repository at this point in the history
  • Loading branch information
holazt committed Apr 28, 2019
1 parent 5c3a087 commit 2355c77
Show file tree
Hide file tree
Showing 12 changed files with 1,406 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
dist: xenial
sudo: required

branches:
only:
- master

cache:
directories:
- $HOME/.cache

env:
global:
- PRODUCT=netease-cloud-music

matrix:
include:
- os: linux
env: OS=ubuntu EXTEN=appimage
services: docker
language: cpp
# - os: linux
# env: OS=fedora EXTEN=appimage
# services: docker
# language: cpp

before_install:

install:


script:
- export ROOT_PATH="$(pwd)"
- bash pkg2appimage-with-docker netease-cloud-music.yml

after_success:
- cd ${ROOT_PATH}/out
- if [[ "${EXTEN}" == "appimage" ]]; then python3 ${ROOT_PATH}/scripts/services/transferwee.py upload NetEase_Cloud_Music-1.2.0.2.*.AppImage fi
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Beware: only meant for use with pkg2appimage-with-docker
# Beware: only use for build netease-music-appimage

FROM ubuntu:18.10

MAINTAINER "kelleg <[email protected]>"

ENV DEBIAN_FRONTEND=noninteractive \
DOCKER_BUILD=1

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 && install -m 0777 -d /workspace

COPY docker/* /workspace/
RUN adduser --system --uid 1000 test

WORKDIR /workspace

Loading

0 comments on commit 2355c77

Please sign in to comment.