Skip to content

Commit b127860

Browse files
Copilotidvoretskyi
andauthored
Move apt-get upgrade to run right after apt-get update (#36)
Agent-Logs-Url: https://github.com/idvoretskyi/dev/sessions/ae33b57a-cda6-4adc-90fc-c94d7bf9e634 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: idvoretskyi <118459+idvoretskyi@users.noreply.github.com>
1 parent 55b7f5b commit b127860

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
22

33
# hadolint ignore=DL3008
4-
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
4+
RUN apt-get update && apt-get -y upgrade && export DEBIAN_FRONTEND=noninteractive \
55
&& apt-get -y install --no-install-recommends \
66
python3 \
77
python3-venv \
88
python3-pip \
99
sudo \
1010
vim-tiny \
11-
&& apt-get -y upgrade \
1211
&& apt-get -y purge linux-libc-dev \
1312
&& apt-get -y autoremove \
1413
&& apt-get clean \

0 commit comments

Comments
 (0)