Signed-off-by: Boris Pruessmann <boris@pruessmann.org>
| ... | ... |
@@ -1,16 +1,6 @@ |
| 1 | 1 |
FROM aarch64/ubuntu:xenial |
| 2 | 2 |
|
| 3 |
-# allow replacing httpredir or deb mirror |
|
| 4 |
-ARG APT_MIRROR=deb.debian.org |
|
| 5 |
-RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list |
|
| 6 |
- |
|
| 7 |
-RUN apt-get update && apt-get install -y \ |
|
| 8 |
- git \ |
|
| 9 |
- bash \ |
|
| 10 |
- curl \ |
|
| 11 |
- gcc \ |
|
| 12 |
- gccgo \ |
|
| 13 |
- make |
|
| 3 |
+RUN apt-get update && apt-get install -y git golang-go curl |
|
| 14 | 4 |
|
| 15 | 5 |
ENV GO_VERSION 1.7.5 |
| 16 | 6 |
ENV GOARCH arm64 |