Created
          January 17, 2024 22:57 
        
      - 
      
 - 
        
Save sartak/db588bd83c441ce2d44d52cee0b08bbf to your computer and use it in GitHub Desktop.  
    Anki sync server Dockerfile
  
        
  
    
      This file contains hidden or 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 debian:sid-slim | |
| ENV THROW_AWAY=0005 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN set -ex && apt update --fix-missing && apt install -y curl build-essential protobuf-compiler && rm -rf /var/lib/apt/ | |
| RUN curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal -y | |
| ENV PATH="/root/.cargo/bin:${PATH}" | |
| RUN cargo install --git https://github.com/ankitects/anki.git --tag 23.12 anki-sync-server | |
| CMD ["anki-sync-server"] | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment