Last active
July 13, 2020 10:02
-
-
Save mark-andrews/56812ff397178698574459acd8233388 to your computer and use it in GitHub Desktop.
Dockerfile attempt for rstudio server on Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM archlinux:20200705 | |
RUN pacman -Sy \ | |
&& pacman -S --noconfirm \ | |
base-devel \ | |
git \ | |
make \ | |
r \ | |
sudo \ | |
vim \ | |
wget \ | |
which \ | |
zsh | |
RUN useradd -m builder && echo "builder ALL = NOPASSWD: ALL" >> /etc/sudoers | |
USER builder | |
WORKDIR /home/builder | |
RUN git clone https://aur.archlinux.org/soci.git && \ | |
cd soci && \ | |
makepkg --noconfirm -si && \ | |
cd /home/builder | |
RUN git clone https://aur.archlinux.org/rstudio-server-git.git && \ | |
cd rstudio-server-git && \ | |
makepkg --noconfirm -si && \ | |
cd /home/builder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 98%] Building CXX object src/cpp/server/CMakeFiles/rserver.dir/auth/ServerAuthHandler.cpp.o | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:338:16: error: ‘rstudio::core::Error rstudio::server::auth::handler::overlay::setAdmin’ redeclared as different kind of entity | |
338 | Error setAdmin(rstudio_boost::asio::io_service& ioService, | |
| ^~~~~~~~~~~~~ | |
In file included from /home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:19: | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/include/server/auth/ServerAuthHandler.hpp:146:13: note: previous declaration ‘rstudio::core::Error rstudio::server::auth::handler::overlay::setAdmin(boost::asio::io_service&, const string&, bool)’ | |
146 | core::Error setAdmin(boost::asio::io_service& ioService, const std::string& username, bool isAdmin); | |
| ^~~~~~~~ | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:338:16: error: ‘rstudio_boost’ has not been declared | |
338 | Error setAdmin(rstudio_boost::asio::io_service& ioService, | |
| ^~~~~~~~~~~~~ | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:338:49: error: ‘ioService’ was not declared in this scope | |
338 | Error setAdmin(rstudio_boost::asio::io_service& ioService, | |
| ^~~~~~~~~ | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:339:16: error: expected primary-expression before ‘const’ | |
339 | const std::string& username, | |
| ^~~~~ | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:340:16: error: expected primary-expression before ‘bool’ | |
340 | bool isAdmin) | |
| ^~~~ | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:345:15: error: ‘rstudio::core::Error rstudio::server::auth::handler::overlay::addUser’ redeclared as different kind of entity | |
345 | Error addUser(rstudio_boost::asio::io_service& ioService, | |
| ^~~~~~~~~~~~~ | |
In file included from /home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:19: | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/include/server/auth/ServerAuthHandler.hpp:147:13: note: previous declaration ‘rstudio::core::Error rstudio::server::auth::handler::overlay::addUser(boost::asio::io_service&, const string&, bool)’ | |
147 | core::Error addUser(boost::asio::io_service& ioService, const std::string& username, bool isAdmin); | |
| ^~~~~~~ | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:345:15: error: ‘rstudio_boost’ has not been declared | |
345 | Error addUser(rstudio_boost::asio::io_service& ioService, | |
| ^~~~~~~~~~~~~ | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:345:48: error: ‘ioService’ was not declared in this scope | |
345 | Error addUser(rstudio_boost::asio::io_service& ioService, | |
| ^~~~~~~~~ | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:346:15: error: expected primary-expression before ‘const’ | |
346 | const std::string& username, | |
| ^~~~~ | |
/home/builder/rstudio-server-git/src/rstudio/src/cpp/server/auth/ServerAuthHandler.cpp:347:15: error: expected primary-expression before ‘bool’ | |
347 | bool isAdmin) | |
| ^~~~ | |
make[2]: *** [src/cpp/server/CMakeFiles/rserver.dir/build.make:317: src/cpp/server/CMakeFiles/rserver.dir/auth/ServerAuthHandler.cpp.o] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:893: src/cpp/server/CMakeFiles/rserver.dir/all] Error 2 | |
make: *** [Makefile:172: all] Error 2 | |
==> ERROR: A failure occurred in package(). | |
Aborting... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment