Skip to content

Commit f74c47d

Browse files
grooverdanfauust
authored andcommitted
hadolint dislikes source
ci_build_images/fedora.Dockerfile:12 SC3046 warning: In POSIX sh, 'source' in place of '.' is undefined. So used a . instead.
1 parent cca6638 commit f74c47d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ci_build_images/fedora.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ARG INSTALL_VALGRIND
1212
RUN echo "fastestmirror=true" >> /etc/dnf/dnf.conf \
1313
&& dnf -y upgrade \
1414
&& dnf -y install 'dnf-command(builddep)' 'dnf-command(config-manager)' \
15-
&& source /etc/os-release \
15+
&& . /etc/os-release \
1616
&& ARCH=$(rpm --query --queryformat='%{ARCH}' rpm) \
1717
&& if [ "$ARCH" = x86_64 ]; then ARCH=amd64 ; fi \
1818
&& dnf config-manager --add-repo https://ci.mariadb.org/galera/mariadb-4.x-latest-gal-"${ARCH}"-fedora-"${VERSION_ID}".repo \

ci_build_images/opensuse.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY --chmod=755 mariadb_zypper_expect /
1212
# Install updates and required packages
1313
RUN zypper update -y \
1414
&& zypper install -y -t pattern devel_basis \
15-
&& source /etc/os-release \
15+
&& . /etc/os-release \
1616
&& VERSION_ID=${VERSION_ID%.*}0${VERSION_ID#*.} \
1717
&& ARCH=$(rpm --query --queryformat='%{ARCH}' zypper) \
1818
&& if [ "$ARCH" = x86_64 ]; then ARCH=amd64 ; fi \

ci_build_images/pip.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs >/tmp/rustup-init.
1313
*) bash /tmp/rustup-init.sh -y --profile=minimal ;; \
1414
esac \
1515
&& rm -f /tmp/rustup-init.sh \
16-
&& source "$HOME/.cargo/env" \
16+
&& . "$HOME/.cargo/env" \
1717
# Disable until opensuse/sles dont break: && pip3 install --no-cache-dir -U pip \
1818
&& curl -so /root/requirements.txt \
1919
https://raw.githubusercontent.com/MariaDB/buildbot/main/ci_build_images/requirements.txt \

ci_build_images/sles.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY --chmod=755 mariadb_zypper_expect /
1212
# Install updates and required packages
1313
RUN zypper -n update \
1414
&& zypper -n install -t pattern devel_basis \
15-
&& source /etc/os-release \
15+
&& . /etc/os-release \
1616
&& VERSION_ID=${VERSION_ID%%.*} \
1717
&& ARCH=$(rpm --query --queryformat='%{ARCH}' zypper) \
1818
&& if [ "$ARCH" = x86_64 ]; then ARCH=amd64 ; fi \

0 commit comments

Comments
 (0)