updates for multi-arch builds
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -1,13 +1,19 @@
|
||||
|
||||
FROM alpine:3.16
|
||||
FROM alpine:3.17
|
||||
|
||||
ENV DOCKER_HOST=unix:///var/run/docker.sock
|
||||
|
||||
RUN apk --no-cache add --update docker openrc bash
|
||||
ARG DOCKER_VERSION
|
||||
|
||||
RUN apk --no-cache add --update \
|
||||
docker=$DOCKER_VERSION \
|
||||
openrc \
|
||||
bash
|
||||
|
||||
RUN rc-update add docker boot
|
||||
|
||||
COPY docker-setup /
|
||||
RUN chmod +x /docker-setup
|
||||
COPY docker-setup /bin/
|
||||
RUN chmod +x /bin/docker-setup
|
||||
|
||||
CMD [ "/docker-setup" ]
|
||||
CMD [ "/bin/docker-setup" ]
|
||||
ENTRYPOINT [ "/bin/bash", "-l", "-c" ]
|
||||
|
Reference in New Issue
Block a user