Permalink
Browse files

fakebuild: update Dockerfile to work with alpine:3.4

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
  • Loading branch information...
cyphar committed Dec 16, 2016
1 parent 26fdcfe commit 91bd5e6b1643fe8cdcd9129aaa2b140ca1fab911
Showing with 6 additions and 3 deletions.
  1. +6 −3 fakebuild.go
@@ -30,11 +30,14 @@ import (
const (
MkonionTag = "mkonion/tor:latest"
MkonionDockerfileTemplate = `
FROM alpine:latest
RUN echo '@testing http://nl.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories && \
FROM alpine:3.4
RUN { \
echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main'; \
echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community';

This comment has been minimized.

@rouben

rouben Sep 20, 2017

Missing backslash?

This comment has been minimized.

@cyphar

cyphar Sep 20, 2017

Author Owner

Yes, most likely. Feel free to submit a PR if you like. 😸

} >> /etc/apk/repositories && \
apk update && \
apk upgrade && \
apk add --update \
apk add \
tor@testing && \
{{ if .HasKey }}
mkdir -p /var/lib/tor/hidden_service && \

0 comments on commit 91bd5e6

Please sign in to comment.