Skip to content

Commit

Permalink
ci: switch to docker buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
edouard-lopez committed Aug 31, 2023
1 parent a9abe53 commit 8234005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion docker/nix.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM nixos/nix:2.17.0

RUN nix --version
# RUN nix-channel --update

# hadolint ignore=DL3059
RUN nix-channel --update \
Expand Down
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ usage:
.PHONY: build-pure-on
build-pure-on: STAGE?=only-fish
build-pure-on:
docker build \
docker buildx build \
--quiet \
--file ./docker/Dockerfile \
--target ${STAGE} \
Expand Down Expand Up @@ -61,7 +61,7 @@ dev-with-pure-installed:

build-pure-on-nix: STAGE?=nix
build-pure-on-nix:
docker build \
docker buildx build \
--file ./docker/${STAGE}.Dockerfile \
--build-arg FISH_VERSION=${FISH_VERSION} \
--tag=pure-${STAGE}-${FISH_VERSION} \
Expand Down

0 comments on commit 8234005

Please sign in to comment.