Skip to content

Commit 17781cd

Browse files
gmarullclaude
andcommitted
docker: drop PATH/entrypoint plumbing for SDK
PebbleOS waf auto-detects the SDK at /opt/pebbleos-sdk, so neither the runtime entrypoint sourcing env.sh nor any PATH manipulation is needed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 44b9549 commit 17781cd

2 files changed

Lines changed: 1 addition & 17 deletions

File tree

Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,10 @@ RUN wget -O doxygen.tar.gz "https://www.doxygen.nl/files/doxygen-1.14.0.linux.bi
4646
rm -r doxygen-1.14.0 doxygen.tar.gz
4747

4848
# Install PebbleOS SDK
49-
ENV PEBBLEOS_SDK_ROOT=/opt/pebbleos-sdk
5049
RUN wget -qO- "https://github.com/coredevices/PebbleOS-SDK/releases/download/v${PEBBLEOS_SDK_VERSION}/pebbleos-sdk-installer.sh" \
51-
| sh -s -- --version "${PEBBLEOS_SDK_VERSION}" --prefix "${PEBBLEOS_SDK_ROOT}" --defaults
50+
| sh -s -- --version "${PEBBLEOS_SDK_VERSION}" --prefix /opt/pebbleos-sdk --defaults
5251

5352
# Create Python virtual environment
5453
RUN python3 -m venv /opt/venv
5554

5655
ENV PATH="/opt/venv/bin:$PATH"
57-
58-
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
59-
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
60-
61-
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
62-
CMD ["/bin/bash"]

docker-entrypoint.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)