mirror of
https://github.com/dockersrc/alpine
synced 2024-11-21 11:23:06 -05:00
🗃️ Committing everything that changed 🗃️
Dockerfile Dockerfile.3.14 Dockerfile.3.15 Dockerfile.3.16 Dockerfile.3.17 Dockerfile.3.18 Dockerfile.3.19 Dockerfile.3.20 Dockerfile.edge
This commit is contained in:
parent
f9776e7017
commit
5ab86769ca
10
Dockerfile
10
Dockerfile
@ -67,19 +67,21 @@ ENV HOSTNAME="casjaysdevdocker-alpine"
|
|||||||
USER ${USER}
|
USER ${USER}
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||||
|
|
||||||
RUN set -e; \
|
RUN set -e; \
|
||||||
echo "Setting up prerequisites"; \
|
echo "Setting up prerequisites"; \
|
||||||
apk --no-cache add bash; \
|
apk --no-cache add bash; \
|
||||||
SH_CMD="$(which sh 2>/dev/null)"; \
|
SH_CMD="$(which sh 2>/dev/null)"; \
|
||||||
BASH_CMD="$(which bash 2>/dev/null)"; \
|
BASH_CMD="$(which bash 2>/dev/null)"; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -Rf "$SH_CMD"|| true ;ln -s "$BASH_CMD" "$SH_CMD"; } || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/bin/sh" || true; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/usr/bin/sh" || true; \
|
||||||
[ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true
|
[ -x "\$BASH_CMD" ] && [ "\$SH_CMD" != "/bin/sh"] && symlink "\$BASH_CMD" "\$SH_CMD" || true; \
|
||||||
|
[ -n "\$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'\$BASH_CMD'|g' "/etc/passwd" || true
|
||||||
|
|
||||||
ENV SHELL="/bin/bash"
|
ENV SHELL="/bin/bash"
|
||||||
SHELL [ "/bin/bash", "-c" ]
|
SHELL [ "/bin/bash", "-c" ]
|
||||||
|
|
||||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
|
||||||
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
||||||
|
|
||||||
RUN echo "Initializing the system"; \
|
RUN echo "Initializing the system"; \
|
||||||
|
@ -67,19 +67,21 @@ ENV HOSTNAME="casjaysdevdocker-alpine"
|
|||||||
USER ${USER}
|
USER ${USER}
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||||
|
|
||||||
RUN set -e; \
|
RUN set -e; \
|
||||||
echo "Setting up prerequisites"; \
|
echo "Setting up prerequisites"; \
|
||||||
apk --no-cache add bash; \
|
apk --no-cache add bash; \
|
||||||
SH_CMD="$(which sh 2>/dev/null)"; \
|
SH_CMD="$(which sh 2>/dev/null)"; \
|
||||||
BASH_CMD="$(which bash 2>/dev/null)"; \
|
BASH_CMD="$(which bash 2>/dev/null)"; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -Rf "$SH_CMD"|| true ;ln -s "$BASH_CMD" "$SH_CMD"; } || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/bin/sh" || true; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/usr/bin/sh" || true; \
|
||||||
[ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true
|
[ -x "\$BASH_CMD" ] && [ "\$SH_CMD" != "/bin/sh"] && symlink "\$BASH_CMD" "\$SH_CMD" || true; \
|
||||||
|
[ -n "\$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'\$BASH_CMD'|g' "/etc/passwd" || true
|
||||||
|
|
||||||
ENV SHELL="/bin/bash"
|
ENV SHELL="/bin/bash"
|
||||||
SHELL [ "/bin/bash", "-c" ]
|
SHELL [ "/bin/bash", "-c" ]
|
||||||
|
|
||||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
|
||||||
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
||||||
|
|
||||||
RUN echo "Initializing the system"; \
|
RUN echo "Initializing the system"; \
|
||||||
|
@ -67,19 +67,21 @@ ENV HOSTNAME="casjaysdevdocker-alpine"
|
|||||||
USER ${USER}
|
USER ${USER}
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||||
|
|
||||||
RUN set -e; \
|
RUN set -e; \
|
||||||
echo "Setting up prerequisites"; \
|
echo "Setting up prerequisites"; \
|
||||||
apk --no-cache add bash; \
|
apk --no-cache add bash; \
|
||||||
SH_CMD="$(which sh 2>/dev/null)"; \
|
SH_CMD="$(which sh 2>/dev/null)"; \
|
||||||
BASH_CMD="$(which bash 2>/dev/null)"; \
|
BASH_CMD="$(which bash 2>/dev/null)"; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -Rf "$SH_CMD"|| true ;ln -s "$BASH_CMD" "$SH_CMD"; } || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/bin/sh" || true; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/usr/bin/sh" || true; \
|
||||||
[ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true
|
[ -x "\$BASH_CMD" ] && [ "\$SH_CMD" != "/bin/sh"] && symlink "\$BASH_CMD" "\$SH_CMD" || true; \
|
||||||
|
[ -n "\$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'\$BASH_CMD'|g' "/etc/passwd" || true
|
||||||
|
|
||||||
ENV SHELL="/bin/bash"
|
ENV SHELL="/bin/bash"
|
||||||
SHELL [ "/bin/bash", "-c" ]
|
SHELL [ "/bin/bash", "-c" ]
|
||||||
|
|
||||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
|
||||||
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
||||||
|
|
||||||
RUN echo "Initializing the system"; \
|
RUN echo "Initializing the system"; \
|
||||||
|
@ -67,19 +67,21 @@ ENV HOSTNAME="casjaysdevdocker-alpine"
|
|||||||
USER ${USER}
|
USER ${USER}
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||||
|
|
||||||
RUN set -e; \
|
RUN set -e; \
|
||||||
echo "Setting up prerequisites"; \
|
echo "Setting up prerequisites"; \
|
||||||
apk --no-cache add bash; \
|
apk --no-cache add bash; \
|
||||||
SH_CMD="$(which sh 2>/dev/null)"; \
|
SH_CMD="$(which sh 2>/dev/null)"; \
|
||||||
BASH_CMD="$(which bash 2>/dev/null)"; \
|
BASH_CMD="$(which bash 2>/dev/null)"; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -Rf "$SH_CMD"|| true ;ln -s "$BASH_CMD" "$SH_CMD"; } || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/bin/sh" || true; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/usr/bin/sh" || true; \
|
||||||
[ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true
|
[ -x "\$BASH_CMD" ] && [ "\$SH_CMD" != "/bin/sh"] && symlink "\$BASH_CMD" "\$SH_CMD" || true; \
|
||||||
|
[ -n "\$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'\$BASH_CMD'|g' "/etc/passwd" || true
|
||||||
|
|
||||||
ENV SHELL="/bin/bash"
|
ENV SHELL="/bin/bash"
|
||||||
SHELL [ "/bin/bash", "-c" ]
|
SHELL [ "/bin/bash", "-c" ]
|
||||||
|
|
||||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
|
||||||
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
||||||
|
|
||||||
RUN echo "Initializing the system"; \
|
RUN echo "Initializing the system"; \
|
||||||
|
@ -67,19 +67,21 @@ ENV HOSTNAME="casjaysdevdocker-alpine"
|
|||||||
USER ${USER}
|
USER ${USER}
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||||
|
|
||||||
RUN set -e; \
|
RUN set -e; \
|
||||||
echo "Setting up prerequisites"; \
|
echo "Setting up prerequisites"; \
|
||||||
apk --no-cache add bash; \
|
apk --no-cache add bash; \
|
||||||
SH_CMD="$(which sh 2>/dev/null)"; \
|
SH_CMD="$(which sh 2>/dev/null)"; \
|
||||||
BASH_CMD="$(which bash 2>/dev/null)"; \
|
BASH_CMD="$(which bash 2>/dev/null)"; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -Rf "$SH_CMD"|| true ;ln -s "$BASH_CMD" "$SH_CMD"; } || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/bin/sh" || true; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/usr/bin/sh" || true; \
|
||||||
[ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true
|
[ -x "\$BASH_CMD" ] && [ "\$SH_CMD" != "/bin/sh"] && symlink "\$BASH_CMD" "\$SH_CMD" || true; \
|
||||||
|
[ -n "\$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'\$BASH_CMD'|g' "/etc/passwd" || true
|
||||||
|
|
||||||
ENV SHELL="/bin/bash"
|
ENV SHELL="/bin/bash"
|
||||||
SHELL [ "/bin/bash", "-c" ]
|
SHELL [ "/bin/bash", "-c" ]
|
||||||
|
|
||||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
|
||||||
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
||||||
|
|
||||||
RUN echo "Initializing the system"; \
|
RUN echo "Initializing the system"; \
|
||||||
|
@ -67,19 +67,21 @@ ENV HOSTNAME="casjaysdevdocker-alpine"
|
|||||||
USER ${USER}
|
USER ${USER}
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||||
|
|
||||||
RUN set -e; \
|
RUN set -e; \
|
||||||
echo "Setting up prerequisites"; \
|
echo "Setting up prerequisites"; \
|
||||||
apk --no-cache add bash; \
|
apk --no-cache add bash; \
|
||||||
SH_CMD="$(which sh 2>/dev/null)"; \
|
SH_CMD="$(which sh 2>/dev/null)"; \
|
||||||
BASH_CMD="$(which bash 2>/dev/null)"; \
|
BASH_CMD="$(which bash 2>/dev/null)"; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -Rf "$SH_CMD"|| true ;ln -s "$BASH_CMD" "$SH_CMD"; } || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/bin/sh" || true; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/usr/bin/sh" || true; \
|
||||||
[ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true
|
[ -x "\$BASH_CMD" ] && [ "\$SH_CMD" != "/bin/sh"] && symlink "\$BASH_CMD" "\$SH_CMD" || true; \
|
||||||
|
[ -n "\$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'\$BASH_CMD'|g' "/etc/passwd" || true
|
||||||
|
|
||||||
ENV SHELL="/bin/bash"
|
ENV SHELL="/bin/bash"
|
||||||
SHELL [ "/bin/bash", "-c" ]
|
SHELL [ "/bin/bash", "-c" ]
|
||||||
|
|
||||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
|
||||||
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
||||||
|
|
||||||
RUN echo "Initializing the system"; \
|
RUN echo "Initializing the system"; \
|
||||||
|
@ -67,19 +67,21 @@ ENV HOSTNAME="casjaysdevdocker-alpine"
|
|||||||
USER ${USER}
|
USER ${USER}
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||||
|
|
||||||
RUN set -e; \
|
RUN set -e; \
|
||||||
echo "Setting up prerequisites"; \
|
echo "Setting up prerequisites"; \
|
||||||
apk --no-cache add bash; \
|
apk --no-cache add bash; \
|
||||||
SH_CMD="$(which sh 2>/dev/null)"; \
|
SH_CMD="$(which sh 2>/dev/null)"; \
|
||||||
BASH_CMD="$(which bash 2>/dev/null)"; \
|
BASH_CMD="$(which bash 2>/dev/null)"; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -Rf "$SH_CMD"|| true ;ln -s "$BASH_CMD" "$SH_CMD"; } || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/bin/sh" || true; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/usr/bin/sh" || true; \
|
||||||
[ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true
|
[ -x "\$BASH_CMD" ] && [ "\$SH_CMD" != "/bin/sh"] && symlink "\$BASH_CMD" "\$SH_CMD" || true; \
|
||||||
|
[ -n "\$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'\$BASH_CMD'|g' "/etc/passwd" || true
|
||||||
|
|
||||||
ENV SHELL="/bin/bash"
|
ENV SHELL="/bin/bash"
|
||||||
SHELL [ "/bin/bash", "-c" ]
|
SHELL [ "/bin/bash", "-c" ]
|
||||||
|
|
||||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
|
||||||
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
||||||
|
|
||||||
RUN echo "Initializing the system"; \
|
RUN echo "Initializing the system"; \
|
||||||
|
@ -67,19 +67,21 @@ ENV HOSTNAME="casjaysdevdocker-alpine"
|
|||||||
USER ${USER}
|
USER ${USER}
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||||
|
|
||||||
RUN set -e; \
|
RUN set -e; \
|
||||||
echo "Setting up prerequisites"; \
|
echo "Setting up prerequisites"; \
|
||||||
apk --no-cache add bash; \
|
apk --no-cache add bash; \
|
||||||
SH_CMD="$(which sh 2>/dev/null)"; \
|
SH_CMD="$(which sh 2>/dev/null)"; \
|
||||||
BASH_CMD="$(which bash 2>/dev/null)"; \
|
BASH_CMD="$(which bash 2>/dev/null)"; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -Rf "$SH_CMD"|| true ;ln -s "$BASH_CMD" "$SH_CMD"; } || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/bin/sh" || true; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/usr/bin/sh" || true; \
|
||||||
[ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true
|
[ -x "\$BASH_CMD" ] && [ "\$SH_CMD" != "/bin/sh"] && symlink "\$BASH_CMD" "\$SH_CMD" || true; \
|
||||||
|
[ -n "\$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'\$BASH_CMD'|g' "/etc/passwd" || true
|
||||||
|
|
||||||
ENV SHELL="/bin/bash"
|
ENV SHELL="/bin/bash"
|
||||||
SHELL [ "/bin/bash", "-c" ]
|
SHELL [ "/bin/bash", "-c" ]
|
||||||
|
|
||||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
|
||||||
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
||||||
|
|
||||||
RUN echo "Initializing the system"; \
|
RUN echo "Initializing the system"; \
|
||||||
|
@ -67,18 +67,20 @@ ENV HOSTNAME="casjaysdevdocker-alpine"
|
|||||||
USER ${USER}
|
USER ${USER}
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||||
|
|
||||||
RUN set -e; \
|
RUN set -e; \
|
||||||
echo "Setting up prerequisites"; \
|
echo "Setting up prerequisites"; \
|
||||||
apk --no-cache add bash; \
|
apk --no-cache add bash; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -Rf "$SH_CMD"|| true ;ln -s "$BASH_CMD" "$SH_CMD"; } || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/bin/sh" || true; \
|
||||||
[ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \
|
[ -x "\$BASH_CMD" ] && symlink "\$BASH_CMD" "/usr/bin/sh" || true; \
|
||||||
[ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true
|
[ -x "\$BASH_CMD" ] && [ "\$SH_CMD" != "/bin/sh"] && symlink "\$BASH_CMD" "\$SH_CMD" || true; \
|
||||||
|
[ -n "\$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'\$BASH_CMD'|g' "/etc/passwd" || true
|
||||||
|
|
||||||
|
|
||||||
ENV SHELL="/bin/bash"
|
ENV SHELL="/bin/bash"
|
||||||
SHELL [ "/bin/bash", "-c" ]
|
SHELL [ "/bin/bash", "-c" ]
|
||||||
|
|
||||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
|
||||||
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
COPY --from=gosu /usr/local/bin/gosu /usr/local/bin/gosu
|
||||||
|
|
||||||
RUN echo "Initializing the system"; \
|
RUN echo "Initializing the system"; \
|
||||||
|
Loading…
Reference in New Issue
Block a user