Skip to content

Commit

Permalink
remove arm/v7 build and special symlinks to support it
Browse files Browse the repository at this point in the history
  • Loading branch information
danbf committed Aug 3, 2021
1 parent db2fc03 commit 171ce40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ RUN cd cmd/sso-proxy/generate-request-signature && go build -mod=readonly -o /bi
# add static assets and copy binaries from build stage
# =============================================================================
FROM debian:stable-slim
RUN ln -s /usr/bin/dpkg-split /usr/sbin/dpkg-split
RUN ln -s /usr/bin/dpkg-deb /usr/sbin/dpkg-deb
RUN ln -s /bin/tar /usr/sbin/tar
RUN ln -s /bin/rm /usr/sbin/rm
RUN apt-get update && apt-get install -y ca-certificates curl && rm -rf /var/lib/apt/lists/* \
&& groupadd -r sso && useradd -r -g sso sso
WORKDIR /sso
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ imagepush-commit:
docker context create sso-dev
docker buildx create sso-dev --name sso-dev
docker buildx use sso-dev
docker buildx build --tag buzzfeed/sso-dev:$(commit) . --platform linux/amd64,linux/arm64,linux/arm/v7 --push
docker buildx build --tag buzzfeed/sso-dev:$(commit) . --platform linux/amd64,linux/arm64 --push
docker buildx rm sso-dev

imagepush-latest:
docker context create sso-dev
docker buildx create sso-dev --name sso-dev
docker buildx use sso-dev
docker buildx build --tag buzzfeed/sso-dev:latest . --platform linux/amd64,linux/arm64,linux/arm/v7 --push
docker buildx build --tag buzzfeed/sso-dev:latest . --platform linux/amd64,linux/arm64 --push
docker buildx rm sso-dev

releasepush:
docker context create sso-dev
docker buildx create sso-dev --name sso-dev
docker buildx use sso-dev
docker buildx build --tag buzzfeed/sso:$(version) . --platform linux/amd64,linux/arm64,linux/arm/v7 --push
docker buildx build --tag buzzfeed/sso:latest . --platform linux/amd64,linux/arm64,linux/arm/v7 --push
docker buildx build --tag buzzfeed/sso:$(version) . --platform linux/amd64,linux/arm64 --push
docker buildx build --tag buzzfeed/sso:latest . --platform linux/amd64,linux/arm64 --push
docker buildx rm sso-dev

.PHONY: dist/sso-auth dist/sso-proxy tools

0 comments on commit 171ce40

Please sign in to comment.