softwareDevelopment commited on
Commit
af3a94d
Β·
verified Β·
1 Parent(s): 4694682

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -10
Dockerfile CHANGED
@@ -5,8 +5,10 @@ FROM eddelbuettel/r2u:22.04
5
  LABEL maintainer="QTL Mapping Suite"
6
  LABEL description="Interactive QTL Mapping Shiny Application"
7
 
8
- # ── System dependencies ───────────────────────────────────
9
  RUN apt-get update && apt-get install -y --no-install-recommends \
 
 
10
  libcurl4-openssl-dev \
11
  libssl-dev \
12
  libxml2-dev \
@@ -24,8 +26,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
24
  && apt-get clean \
25
  && rm -rf /var/lib/apt/lists/*
26
 
 
 
 
 
 
 
 
 
 
27
  # ── Install R packages as true apt binaries via r2u ──────
28
- # install.r is r2u's helper β€” resolves to apt binaries automatically
29
  RUN install.r \
30
  shiny \
31
  shinyWidgets \
@@ -43,14 +53,6 @@ RUN install.r \
43
  remotes \
44
  && rm -rf /tmp/downloaded_packages
45
 
46
- # ── Install Shiny Server ──────────────────────────────────
47
- RUN wget -q https://download3.rstudio.org/ubuntu-18.04/x86_64/shiny-server-1.5.21.1012-amd64.deb \
48
- && dpkg -i shiny-server-1.5.21.1012-amd64.deb \
49
- && rm shiny-server-1.5.21.1012-amd64.deb \
50
- && apt-get install -f -y \
51
- && apt-get clean \
52
- && rm -rf /var/lib/apt/lists/*
53
-
54
  # ── Write Shiny Server config ─────────────────────────────
55
  RUN printf '%s\n' \
56
  'run_as shiny;' \
 
5
  LABEL maintainer="QTL Mapping Suite"
6
  LABEL description="Interactive QTL Mapping Shiny Application"
7
 
8
+ # ── System dependencies + lsb-release for shiny-server ───
9
  RUN apt-get update && apt-get install -y --no-install-recommends \
10
+ lsb-release \
11
+ wget \
12
  libcurl4-openssl-dev \
13
  libssl-dev \
14
  libxml2-dev \
 
26
  && apt-get clean \
27
  && rm -rf /var/lib/apt/lists/*
28
 
29
+ # ── Install Shiny Server ──────────────────────────────────
30
+ RUN wget -q https://download3.rstudio.org/ubuntu-18.04/x86_64/shiny-server-1.5.21.1012-amd64.deb \
31
+ && apt-get update \
32
+ && apt-get install -f -y \
33
+ && dpkg -i shiny-server-1.5.21.1012-amd64.deb \
34
+ && rm shiny-server-1.5.21.1012-amd64.deb \
35
+ && apt-get clean \
36
+ && rm -rf /var/lib/apt/lists/*
37
+
38
  # ── Install R packages as true apt binaries via r2u ──────
 
39
  RUN install.r \
40
  shiny \
41
  shinyWidgets \
 
53
  remotes \
54
  && rm -rf /tmp/downloaded_packages
55
 
 
 
 
 
 
 
 
 
56
  # ── Write Shiny Server config ─────────────────────────────
57
  RUN printf '%s\n' \
58
  'run_as shiny;' \