mirror of
https://github.com/ViViDboarder/bitwarden_rs_ldap.git
synced 2024-12-23 09:37:33 +00:00
Remove Alpine builds
This commit is contained in:
parent
775e8777cc
commit
10f5f5edc6
@ -1,26 +0,0 @@
|
||||
FROM ekidd/rust-musl-builder:1.57.0 AS builder
|
||||
|
||||
WORKDIR /home/rust/src
|
||||
|
||||
# Cache build deps
|
||||
RUN USER=rust cargo init
|
||||
COPY --chown=rust:rust Cargo.toml Cargo.lock ./
|
||||
RUN cargo build --locked --release && \
|
||||
rm src/*.rs
|
||||
|
||||
COPY --chown=rust:rust ./src ./src
|
||||
RUN USER=rust touch ./src/main.rs
|
||||
# hadolint ignore=DL3059
|
||||
RUN cargo build --release
|
||||
|
||||
FROM alpine:3
|
||||
# hadolint ignore=DL3018
|
||||
RUN apk --no-cache add ca-certificates
|
||||
COPY --from=builder \
|
||||
/home/rust/src/target/x86_64-unknown-linux-musl/release/vaultwarden_ldap \
|
||||
/usr/local/bin/
|
||||
|
||||
COPY alpine_deprecation.sh /usr/local/bin/alpine_deprecation.sh
|
||||
ENTRYPOINT ["/usr/local/bin/alpine_deprecation.sh"]
|
||||
|
||||
CMD ["/usr/local/bin/vaultwarden_ldap"]
|
6
Makefile
6
Makefile
@ -85,12 +85,8 @@ clean:
|
||||
rm -f ./target
|
||||
|
||||
.PHONY: docker-build-all
|
||||
docker-build-all: docker-build docker-build-alpine
|
||||
docker-build-all: docker-build
|
||||
|
||||
.PHONY: docker-build
|
||||
docker-build:
|
||||
docker build -f ./Dockerfile -t $(DOCKER_TAG) .
|
||||
|
||||
.PHONY: docker-build-alpine
|
||||
docker-build-alpine:
|
||||
docker build -f ./Dockerfile.alpine -t $(DOCKER_TAG):alpine .
|
||||
|
@ -1,10 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
echo ""
|
||||
echo "################################################################################"
|
||||
echo "WARNING: The Alpine images are deprecated and will not recieve continued updates"
|
||||
echo "Please use the non-Alpine images for the latest updates and features"
|
||||
echo "################################################################################"
|
||||
echo ""
|
||||
|
||||
exec "$@"
|
Loading…
Reference in New Issue
Block a user