Commit 095e3213 authored by Otto Jonassen Wittner's avatar Otto Jonassen Wittner
Browse files

Added dockerfiles for test installing microdep client .deb package

parent 6549db07
Pipeline #126524 passed with stages
in 1 minute and 18 seconds
#
# Test install Microdep client
FROM debian:buster
WORKDIR /root
RUN apt-get update && apt-get -y install wget gnupg software-properties-common
# Add Uninett repo
RUN apt-add-repository 'deb [arch=amd64] http://apt.uninett.no/debian buster main'
RUN wget -O- http://apt.uninett.no/uninett_apt.gpg | apt-key add -
RUN apt-get update
# Get and install Microdep
#RUN apt-get -y install rude crude
RUN wget https://microdep.uninett.no/downloads/mp-dragonlab_0.5-331-g6549db0_all.deb
RUN dpkg -i mp-dragonlab_0.5-331-g6549db0_all.deb || true # Ignore dependency errors
RUN apt-get -yf install # Fix dependency errors
CMD /bin/bash
#
# Test install Microdep client
FROM ubuntu:focal
WORKDIR /root
RUN apt-get update && apt-get -y install wget gnupg software-properties-common apt-utils
# Add Uninett repo
RUN wget -O- http://apt.uninett.no/uninett_apt.gpg | apt-key add -
RUN apt-add-repository 'deb [arch=amd64] http://apt.uninett.no/ubuntu focal main'
RUN apt-get update
# Get and install Microdep
#RUN apt-get -y install rude crude
RUN wget https://microdep.uninett.no/downloads/mp-dragonlab_0.5-331-g6549db0_all.deb
RUN dpkg -i mp-dragonlab_0.5-331-g6549db0_all.deb || true # Ignore dependency errors
RUN apt-get -yf install # Fix dependency errors
CMD /bin/bash
#
# Test install Microdep client
FROM debian:stretch
WORKDIR /root
RUN apt-get update && apt-get -y install wget gnupg software-properties-common
# Add Uninett repo
RUN apt-add-repository 'deb [arch=amd64] http://apt.uninett.no/debian stretch main'
RUN wget -O- http://apt.uninett.no/uninett_apt.gpg | apt-key add -
RUN apt-get update
# Get and install Microdep
RUN wget https://microdep.uninett.no/downloads/mp-dragonlab_0.5-331-g6549db0_all.deb
RUN dpkg -i mp-dragonlab_0.5-331-g6549db0_all.deb || true # Ignore dependency errors
RUN apt-get -yf install # Fix dependency errors
CMD /bin/bash
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment