Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
c347c0d5
Commit
c347c0d5
authored
6 years ago
by
Konstantinos Sideris
Browse files
Options
Downloads
Patches
Plain Diff
Fix the docker build
fixes #334
parent
72333aec
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.ci/install.sh
+2
-2
2 additions, 2 deletions
.ci/install.sh
.ci/linux/deploy.sh
+1
-4
1 addition, 4 deletions
.ci/linux/deploy.sh
Dockerfile
+26
-24
26 additions, 24 deletions
Dockerfile
Makefile
+10
-2
10 additions, 2 deletions
Makefile
with
39 additions
and
32 deletions
.ci/install.sh
+
2
−
2
View file @
c347c0d5
...
...
@@ -24,8 +24,8 @@ if [ $TRAVIS_OS_NAME == linux ]; then
QT_PKG
=
"59"
fi
wget https://cmake.org/files/v3.1
1
/cmake-3.1
1.4
-Linux-x86_64.sh
sudo
sh cmake-3.1
1.4
-Linux-x86_64.sh
--skip-license
--prefix
=
/usr/local
wget https://cmake.org/files/v3.1
2
/cmake-3.1
2.2
-Linux-x86_64.sh
sudo
sh cmake-3.1
2.2
-Linux-x86_64.sh
--skip-license
--prefix
=
/usr/local
sudo
add-apt-repository
-y
ppa:chris-lea/libsodium
sudo
add-apt-repository
-y
ppa:beineri/opt-qt
${
QT_VERSION
}
-trusty
...
...
This diff is collapsed.
Click to expand it.
.ci/linux/deploy.sh
+
1
−
4
View file @
c347c0d5
...
...
@@ -31,10 +31,7 @@ unset QT_PLUGIN_PATH
unset
LD_LIBRARY_PATH
export
ARCH
=
$(
uname
-m
)
if
[
!
-z
$TRAVIS_TAG
]
;
then
export
LD_LIBRARY_PATH
=
.deps/usr/lib/:
$LD_LIBRARY_PATH
fi
export
LD_LIBRARY_PATH
=
.deps/usr/lib/:
$LD_LIBRARY_PATH
./linuxdeployqt
*
.AppImage
${
DIR
}
/usr/share/applications/
*
.desktop
-bundle-non-qt-libs
./linuxdeployqt
*
.AppImage
${
DIR
}
/usr/share/applications/
*
.desktop
-appimage
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
26
−
24
View file @
c347c0d5
FROM
ubuntu:
xenial
FROM
ubuntu:
trusty
RUN
\
apt-get update
-qq
&&
\
apt-get
install
-y
software-properties-common
RUN
\
add-apt-repository
-y
ppa:
beineri/opt-qt-5.10.1-xenial
&&
\
apt-get
install
-y
software-properties-common
&&
\
add-apt-repository
-y
ppa:beineri/opt-qt-5.10.1-trusty
&&
\
add-apt-repository
-y
ppa:ubuntu-toolchain-r/test
&&
\
add-apt-repository
-y
ppa:
chris-lea/libsodium
&&
\
apt-get update
-qq
&&
\
apt-get
install
-y
\
qt510base
\
qt510tools
\
qt510svg
\
qt510multimedia
qt510base qt510tools qt510svg qt510multimedia
\
gcc-5 g++-5
RUN
\
add-apt-repository ppa:ubuntu-toolchain-r/test
&&
\
apt-add-repository
"deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main"
&&
\
apt-get update
-qq
&&
\
apt-get
install
-y
--allow-unauthenticated
\
gcc-7
\
g++-7
\
cmake
\
clang-5.0
\
clang-format-5.0
\
liblmdb-dev
apt-get
install
-y
\
make
\
pkg-config
\
ninja-build
\
libsodium-dev
\
liblmdb-dev
\
libssl-dev
\
mesa-common-dev
\
wget
\
fuse
\
git
RUN
apt-get
install
-y
mesa-common-dev wget fuse git
RUN
\
wget https://cmake.org/files/v3.12/cmake-3.12.2-Linux-x86_64.sh
&&
\
sudo
sh cmake-3.12.2-Linux-x86_64.sh
--skip-license
--prefix
=
/usr/local
RUN
update-alternatives
--install
\
/usr/bin/clang-format
\
clang-format
\
/usr/bin/clang-format-5.0 100
RUN
\
update-alternatives
--install
/usr/bin/gcc gcc /usr/bin/gcc-5 10
&&
\
update-alternatives
--install
/usr/bin/g++ g++ /usr/bin/g++-5 10
&&
\
update-alternatives
--set
gcc
"/usr/bin/gcc-5"
&&
\
update-alternatives
--set
g++
"/usr/bin/g++-5"
ENV
PATH=/opt/qt510/bin:$PATH
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
10
−
2
View file @
c347c0d5
...
...
@@ -15,6 +15,10 @@ third-party:
-DUSE_BUNDLED_BOOST
=
OFF
@
cmake
--build
${
DEPS_BUILD_DIR
}
docker-third-party
:
@
cmake
-GNinja
-H
${
DEPS_SOURCE_DIR
}
-B
${
DEPS_BUILD_DIR
}
-DCMAKE_BUILD_TYPE
=
Release
@
cmake
--build
${
DEPS_BUILD_DIR
}
ci
:
cmake
-H
${
DEPS_SOURCE_DIR
}
-B
${
DEPS_BUILD_DIR
}
-DCMAKE_BUILD_TYPE
=
Release
cmake
--build
${
DEPS_BUILD_DIR
}
...
...
@@ -48,8 +52,12 @@ macos-deploy:
docker-app-image
:
image
docker run
\
-e
CXX
=
g++-7
\
-e
CC
=
gcc-7
\
-e
CXX
=
g++-5
\
-e
CC
=
gcc-5
\
-v
`
pwd
`
:/build nheko-app-image make docker-third-party
docker run
\
-e
CXX
=
g++-5
\
-e
CC
=
gcc-5
\
-v
`
pwd
`
:/build nheko-app-image make release
docker run
\
--privileged
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment