File: 01-upgrade

package info (click to toggle)
debocker 0.2.6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 152 kB
  • sloc: python: 557; sh: 56; makefile: 19
file content (18 lines) | stat: -rwxr-xr-x 333 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
#
# updates Debian image
#

echo "== STAGE 01 (upgrading system) =="

set -eux

# TODO: currently, we don't need deb-src
# echo "deb-src http://httpredir.debian.org/debian unstable main" \
#     > /etc/apt/sources.list.d/unstable-deb-src.list

apt-get -y update
apt-get -y upgrade
apt-get -y clean

echo "== ENDSTAGE =="