Skip to content

Commit af9ea21

Browse files
committed
Dockerfile: replace symlinks with direct copy to fix CI
ln -sf was failing in the CI build environment. Use cp (via COPY to /usr/local/bin/) instead of symlinks for lpb-config. The other scripts remain at /opt/ paths.
1 parent 8c2c88b commit af9ea21

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,16 @@ COPY support/install-openspec.sh /opt/pi-support/install-openspec.sh
152152
COPY support/start.sh /opt/devstack/start.sh
153153
COPY lpb.conf.env /opt/devstack/lpb.conf.env
154154
COPY support/entrypoint-cli.sh /opt/devstack/entrypoint-cli.sh
155-
RUN ln -sf /opt/devstack/install-browser.sh /usr/local/bin/install-browser \
156-
&& ln -sf /opt/devstack/validate.sh /usr/local/bin/validate-devstack \
157-
&& ln -sf /opt/pi-support/install-openspec.sh /usr/local/bin/install-openspec \
158-
&& ln -sf /opt/pi-support/lpb-config /usr/local/bin/lpb-config \
159-
&& chmod +x /opt/devstack/install-browser.sh \
155+
156+
# Copy to /usr/local/bin/ for easy access (avoid symlinks — CI has issues with ln -sf)
157+
COPY support/lpb-config /usr/local/bin/lpb-config
158+
RUN chmod +x /opt/devstack/install-browser.sh \
160159
/opt/devstack/validate.sh \
161160
/opt/devstack/start.sh \
162161
/opt/devstack/entrypoint-cli.sh \
163162
/opt/pi-support/install-openspec.sh \
164-
/opt/pi-support/lpb-config
163+
/opt/pi-support/lpb-config \
164+
/usr/local/bin/lpb-config
165165

166166
RUN mkdir -p /home/lpb/.agent-browser/sessions && chown -R 1000:1000 /home/lpb/.agent-browser
167167

0 commit comments

Comments
 (0)