Skip to content

Commit

Permalink
Separate amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
robbertkl committed Feb 11, 2017
1 parent 5cf27b0 commit 18a7cb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.DS_Store

/docker-ipv6nat
/docker-ipv6nat.amd64
/docker-ipv6nat.aarch64
/docker-ipv6nat.armhf
2 changes: 1 addition & 1 deletion Dockerfile → Dockerfile.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MAINTAINER Robbert Klarenbeek <[email protected]>
RUN apk add --no-cache ip6tables

ENV DOCKER_IPV6NAT_VERSION v0.2.1
ADD https://github.com/robbertkl/docker-ipv6nat/releases/download/${DOCKER_IPV6NAT_VERSION}/docker-ipv6nat /docker-ipv6nat
ADD https://github.com/robbertkl/docker-ipv6nat/releases/download/${DOCKER_IPV6NAT_VERSION}/docker-ipv6nat.amd64 /docker-ipv6nat
RUN chmod u+x /docker-ipv6nat

ENTRYPOINT ["/docker-ipv6nat"]
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DIR := /go/src/$(PKG)
GO := 1.7.5-alpine3.5
TAG := `git describe --tags`
LDFLAGS := -X main.buildVersion=$(TAG)
TARGETS := $(NAME) $(NAME).aarch64 $(NAME).armhf
TARGETS := $(NAME).amd64 $(NAME).aarch64 $(NAME).armhf

.SILENT:

Expand All @@ -15,7 +15,7 @@ all: clean $(TARGETS)
clean:
rm -f $(TARGETS)

$(NAME):
$(NAME).amd64:
docker run --rm \
-v "$(PWD)":"$(DIR)" \
-w "$(DIR)" \
Expand Down

0 comments on commit 18a7cb9

Please sign in to comment.