We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4483974 commit 533092eCopy full SHA for 533092e
Dockerfile
@@ -0,0 +1,21 @@
1
+# syntax=docker/dockerfile:1
2
+FROM golang:1.23
3
+
4
+RUN apt-get update && apt-get install -y \
5
+ build-essential \
6
+ jq \
7
+ && rm -rf /var/lib/apt/lists/*
8
9
+RUN mkdir fswatch/ && \
10
+ curl -sL "$(curl -sL \
11
+ -H 'Accept: application/vnd.github+json' \
12
+ -H 'X-GitHub-Api-Version: 2022-11-28' \
13
+ https://api.github.com/repos/emcrisostomo/fswatch/releases/latest | jq -r '.assets[0].browser_download_url')" | tar -xz -C fswatch --strip-components=1 && \
14
+ cd fswatch/ && \
15
+ ./configure && \
16
+ make -j"$(getconf _NPROCESSORS_ONLN)" && \
17
+ make install && \
18
+ cd .. && \
19
+ rm -Rf fswatch/
20
21
+ENV LD_LIBRARY_PATH=/usr/local/lib
0 commit comments