Skip to content

Commit

Permalink
Use sh instead of bash for heredocs
Browse files Browse the repository at this point in the history
  • Loading branch information
aguslr committed May 28, 2024
1 parent 7641452 commit bb271a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG FMDSERVER_TAG=v0.5.0
ENV GOPATH /go

WORKDIR /go/src/findmydeviceserver
RUN <<-EOT bash
RUN <<-EOT sh
set -eu

apt-get update
Expand All @@ -23,7 +23,7 @@ RUN <<-EOT bash
EOT

ADD https://raw.githubusercontent.com/objectbox/objectbox-go/main/install.sh objectbox-install.sh
RUN <<-EOT bash
RUN <<-EOT sh
set -eu

chmod u+x objectbox-install.sh && ./objectbox-install.sh
Expand All @@ -32,7 +32,7 @@ EOT

FROM docker.io/${BASE_IMAGE}

RUN <<-EOT bash
RUN <<-EOT sh
set -eu

apt-get update
Expand Down

0 comments on commit bb271a3

Please sign in to comment.