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 f6d98c4 commit 6c3d0e5Copy full SHA for 6c3d0e5
Dockerfile
@@ -27,4 +27,17 @@ Run apt-get install git -y
27
# Install Build Essential
28
Run apt-get install build-essential -y
29
30
+# Install curl
31
+Run apt-get install curl -y
32
+
33
+# Add new user & Setup homebrew
34
+RUN useradd -m -s /bin/bash linuxbrew && \
35
+ echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
36
37
+USER linuxbrew
38
+RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
39
40
+USER root
41
+ENV PATH="/home/linuxbrew/.linuxbrew/bin:${PATH}"
42
43
CMD ["bash"]
0 commit comments