Skip to content

Commit fe9bd2f

Browse files
authored
Coder: install agent-browser under coder user (#4)
1 parent 6f1901c commit fe9bd2f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/docker.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
workflow_dispatch:
55

66
push:
7-
branches: ["master"]
87

98
schedule:
109
- cron: "0 8 * * 1"

fx/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RUN apt update && apt dist-upgrade -y && \
5050
libxi6 libgtk-3-0t64 libcairo2 libcairo-gobject2 libgdk-pixbuf-2.0-0 \
5151
libatk1.0-0 libxrender1 libfontconfig1 libdbus-1-3 libxcb1 libxext6 libx11-6 && \
5252
npm install -g agent-browser && \
53-
agent-browser install && \
53+
runuser -u coder -- agent-browser install && \
5454
# PROFILE (DENO, BUN PATH) ##################################################
5555
echo '' >> /etc/profile && \
5656
echo '# Deno, Bun' >> /etc/profile && \

0 commit comments

Comments
 (0)