Changes between Version 24 and Version 25 of User Guide/Disk Images


Ignore:
Timestamp:
May 12, 2020, 2:28:35 AM (5 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • User Guide/Disk Images

    v24 v25  
    164164After saving an image, it will NOT track changes to the baseline, it is a copy, not a delta.
    165165
    166 You may periodically want to re-create your experimental images when a new baseline has been relased, to support new hardware, or newer drivers, etc.
    167 
    168 ==== Baseline UHD
    169 Baseline UHD starts from Baseline, then installs UHD3.15 installed from source, and downloads the fpga images with uhd_images_downloader
     166You may periodically want to re-create your experimental images when a new baseline has been released, to support new hardware, or newer drivers, etc.
    170167
    171168[[CollapsibleStart(Reference Dockerfile)]]
     
    176173
    177174RUN apt update && apt -y install \
    178     ruby ruby-dev iw \
     175    ruby ruby-dev iw
     176
     177#Install OMF6 RC
     178
     179#fix dependencies
     180RUN gem install hashie:'~>2' facter:'~>2' omf_rc:'6.2.3'
     181#manually patch omf_rc
     182COPY files/omf/config.yml /var/lib/gems/2.5.0/gems/omf_rc-6.2.3/config/config.yml
     183COPY files/omf/environment /var/lib/gems/2.5.0/gems/omf_rc-6.2.3/init/
     184COPY files/omf/omf_rc.service /var/lib/gems/2.5.0/gems/omf_rc-6.2.3/init/
     185COPY files/omf/install_omf_rc /usr/local/bin/install_omf_rc
     186RUN install_omf_rc -i -c
     187
     188#copy misc files needed
     189COPY files/blacklist/* /etc/modprobe.d/
     190COPY files/prepare.sh /root/prepare.sh
     191
     192#clean up build
     193RUN rm -f /etc/apt/apt.conf.d/01proxy && \
     194    rm -rf /var/lib/apt/lists/* && \
     195    apt clean && \
     196    apt autoclean
     197}}}
     198[[CollapsibleEnd]]
     199
     200==== Baseline UHD
     201Baseline UHD starts from Baseline, then installs UHD3.15 installed from source, and downloads the fpga images with uhd_images_downloader
     202
     203[[CollapsibleStart(Reference Dockerfile)]]
     204{{{#!dockerfile
     205FROM container_baseline:latest as baseline-uhd
     206ENV DEBIAN_FRONTEND=noninteractive \
     207    TERM=linux
     208
     209RUN apt update && apt -y install \
    179210    cmake \
    180211    debhelper \
     
    251282    echo "net.core.wmem_max=33554432" >> /etc/sysctl.conf
    252283
    253 #Install OMF6 RC
    254 
    255 #fix dependencies
    256 RUN gem install hashie:'~>2' facter:'~>2' omf_rc:'6.2.3'
    257 #manually patch omf_rc
    258 COPY files/omf/config.yml /var/lib/gems/2.5.0/gems/omf_rc-6.2.3/config/config.yml
    259 COPY files/omf/environment /var/lib/gems/2.5.0/gems/omf_rc-6.2.3/init/
    260 COPY files/omf/omf_rc.service /var/lib/gems/2.5.0/gems/omf_rc-6.2.3/init/
    261 COPY files/omf/install_omf_rc /usr/local/bin/install_omf_rc
    262 RUN install_omf_rc -i -c
    263 
    264 #copy misc files needed
    265 COPY files/blacklist/* /etc/modprobe.d/
    266 COPY files/prepare.sh /root/prepare.sh
    267 
    268284#clean up build
    269285RUN rm -f /etc/apt/apt.conf.d/01proxy && \
     
    272288    apt autoclean
    273289}}}
    274 
    275290[[CollapsibleEnd]]
    276291
     
    284299
    285300{{{#!dockerfile
    286 FROM container_baseline:latest as baseline-gr38
     301FROM container_baseline-uhd:latest as baseline-gr
    287302ENV DEBIAN_FRONTEND=noninteractive \
    288303    TERM=linux
     
    342357==== Baseline Tensorflow
    343358
     359TODO
     360
    344361==== Baseline Pytorch
     362
     363TODO
    345364
    346365=== Advanced