diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2019-08-08 22:51:56 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2019-08-08 22:51:56 +0200 |
commit | 31528b8b8cb4b65ef375a4569864df88a4785fed (patch) | |
tree | 94e9aa75cf9b699fcd1cbf2005ae0311b77d20d6 /docker/Dockerfile | |
parent | d67d5322ed2033b09f89ec93e417e515326b8b60 (diff) |
[pkg] install latest golang in docker
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 44aa62c..41acc7d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -15,10 +15,15 @@ RUN apt-get update && apt-get upgrade -y && \ golang libappindicator3-dev libgtk-3-dev \ mingw-w64 upx-ucl python snapcraft \ unzip \ - devscripts fakeroot debhelper dh-golang golang-golang-x-text-dev nsis \ + devscripts fakeroot debhelper nsis \ clang llvm-dev libxml2-dev uuid-dev \ libssl-dev bash patch tar \ - xz-utils bzip2 gzip sed cpio libbz2-dev + xz-utils bzip2 gzip sed cpio libbz2-dev && \ + apt-get install software-properties-common && \ + add-apt-repository ppa:longsleep/golang-backports && \ + apt-get update && \ + apt-get install -y --no-install-recommends \ + dh-golang golang-golang-x-text-dev RUN git clone https://github.com/tpoechtrager/osxcross && \ cd osxcross/tarballs && \ |