Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Vladimir KozLove
bitmask-vpn
Commits
cefd0857
Unverified
Commit
cefd0857
authored
5 years ago
by
meskio
Browse files
Options
Downloads
Patches
Plain Diff
[pkg] add cross compilation tools to the Dockerfile
parent
89ea7339
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/Dockerfile
+26
-14
26 additions, 14 deletions
docker/Dockerfile
with
26 additions
and
14 deletions
docker/Dockerfile
+
26
−
14
View file @
cefd0857
...
...
@@ -4,22 +4,34 @@ FROM ubuntu:disco
MAINTAINER
LEAP Encryption Access Project <info@leap.se>
LABEL
Description="An image to build Bitmask Lite" Vendor="LEAP" Version="1.1"
ENV
OSXSDK_SHA256="631b4144c6bf75bf7a4d480d685a9b5bda10ee8d03dbf0db829391e2ef858789" \
PATH="$PATH:/osxcross/target/bin"
RUN
apt update
&&
apt upgrade
-y
RUN
apt-get update
&&
apt-get upgrade
-y
&&
\
apt-get
install
-y
--no-install-recommends
\
build-essential
\
make cmake
\
git curl wget
\
golang libappindicator3-dev libgtk-3-dev
\
mingw-w64 upx-ucl python snapcraft
\
unzip
\
devscripts fakeroot debhelper dh-golang golang-golang-x-text-dev nsis
\
clang llvm-dev libxml2-dev uuid-dev
\
libssl-dev bash patch
tar
\
xz-utils bzip2
gzip sed
cpio libbz2-dev
# Install all the deps for building and packaging bitmask-vpn
RUN
git clone https://github.com/tpoechtrager/osxcross
&&
\
cd
osxcross/tarballs
&&
\
wget https://s3.dockerproject.org/darwin/v2/MacOSX10.10.sdk.tar.xz
&&
\
echo
"
${
OSXSDK_SHA256
}
*MacOSX10.10.sdk.tar.xz"
|
sha256sum
-c
-
&&
\
cd
..
&&
UNATTENDED
=
1 ./build.sh
&&
\
ln
-s
/osxcross/target/SDK/MacOSX10.10.sdk/usr/include/objc/NSObjCRuntime.h /osxcross/target/SDK/MacOSX10.10.sdk/usr/include/objc/NSObjcRuntime.h
RUN
apt
install
-y
--no-install-recommends
\
build-essential
\
make
\
git curl wget
\
golang libappindicator3-dev libgtk-3-dev
\
mingw-w64 upx-ucl python snapcraft
\
unzip
\
devscripts fakeroot debhelper dh-golang golang-golang-x-text-dev
# we need nsis >= 3.0
RUN
echo
'deb http://archive.ubuntu.com/ubuntu cosmic universe'
>>
/etc/apt/sources.list
RUN
apt update
RUN
apt
install
-y
--no-install-recommends
-t
cosmic nsis
RUN
git clone https://github.com/hogliux/bomutils
&&
\
cd
bomutils
&&
make
&&
sudo
make
install
RUN
git clone https://github.com/VantaInc/xar
&&
\
cd
xar/xar
&&
\
./autogen.sh
&&
./configure
&&
\
make
&&
sudo
make
install
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