Skip to content

Commit 137eb44

Browse files
committed
THRIFT-5000: Fixed path to the entrypoint to be relative to the Dockerfile
1 parent 1ec04cf commit 137eb44

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

docker/0.22.0/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ RUN set -eux; \
6262
rm -rf /var/lib/apt/lists/*
6363

6464
COPY --from=builder /opt/thrift/bin/thrift /usr/local/bin/thrift
65-
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
66-
COPY tests/smoke.thrift /tmp/smoke.thrift
65+
COPY ../docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
66+
COPY ../tests/smoke.thrift /tmp/smoke.thrift
6767

6868
RUN set -eux; \
6969
thrift --version | grep -F "$THRIFT_VERSION"; \

docker/0.22.0/Dockerfile.alpine

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ RUN set -eux; \
5858
apk add --no-cache libstdc++
5959

6060
COPY --from=builder /opt/thrift/bin/thrift /usr/local/bin/thrift
61-
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
62-
COPY tests/smoke.thrift /tmp/smoke.thrift
61+
COPY ../docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
62+
COPY ../tests/smoke.thrift /tmp/smoke.thrift
6363

6464
RUN set -eux; \
6565
thrift --version | grep -F "$THRIFT_VERSION"; \

docker/0.23.0/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ RUN set -eux; \
6262
rm -rf /var/lib/apt/lists/*
6363

6464
COPY --from=builder /opt/thrift/bin/thrift /usr/local/bin/thrift
65-
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
66-
COPY tests/smoke.thrift /tmp/smoke.thrift
65+
COPY ../docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
66+
COPY ../tests/smoke.thrift /tmp/smoke.thrift
6767

6868
RUN set -eux; \
6969
thrift --version | grep -F "$THRIFT_VERSION"; \

docker/0.23.0/Dockerfile.alpine

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ RUN set -eux; \
5858
apk add --no-cache libstdc++
5959

6060
COPY --from=builder /opt/thrift/bin/thrift /usr/local/bin/thrift
61-
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
62-
COPY tests/smoke.thrift /tmp/smoke.thrift
61+
COPY ../docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
62+
COPY ../tests/smoke.thrift /tmp/smoke.thrift
6363

6464
RUN set -eux; \
6565
thrift --version | grep -F "$THRIFT_VERSION"; \

0 commit comments

Comments
 (0)