Skip to content

Commit 3322cd3

Browse files
committed
Fix build
1 parent e1a4608 commit 3322cd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# See the License for the specific language governing permissions and
1111
# limitations under the License.
1212

13-
FROM gradle:6.6.1-jdk11 AS builder
13+
FROM --platform=$BUILDPLATFORM gradle:6.6.1-jdk11 AS builder
1414

1515
RUN mkdir /code
1616
WORKDIR /code

Dockerfile.hdfs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# See the License for the specific language governing permissions and
1111
# limitations under the License.
1212

13-
FROM openjdk:8-alpine AS builder
13+
FROM --platform=$BUILDPLATFORM openjdk:8-alpine AS builder
1414

1515
RUN mkdir /code
1616
WORKDIR /code

0 commit comments

Comments
 (0)