build(docker/frontend): always update apt cache before install
This commit is contained in:
parent
a792bdeb2f
commit
42cc5cc4a2
@ -1,16 +1,14 @@
|
|||||||
# TODO: switch to uniworx registry debian image
|
# TODO: switch to uniworx registry debian image
|
||||||
FROM debian:12.5
|
FROM registry.uniworx.de/uniworx/containers/debian:12.5
|
||||||
|
|
||||||
RUN apt-get -y update
|
|
||||||
|
|
||||||
# Basic dependencies
|
# Basic dependencies
|
||||||
RUN apt-get -y install curl npm
|
RUN apt-get -y update && apt-get -y install curl npm
|
||||||
|
|
||||||
# Build and watch dependencies
|
# Build and watch dependencies
|
||||||
RUN apt-get -y install exiftool
|
RUN apt-get -y update && apt-get -y install exiftool
|
||||||
|
|
||||||
# Test dependencies
|
# Test dependencies
|
||||||
RUN apt-get -y install chromium
|
RUN apt-get -y update && apt-get -y install chromium
|
||||||
ENV CHROME_BIN=chromium
|
ENV CHROME_BIN=chromium
|
||||||
|
|
||||||
# TODO: use dotenv for npm version?
|
# TODO: use dotenv for npm version?
|
||||||
@ -19,7 +17,7 @@ RUN n 20.17.0
|
|||||||
|
|
||||||
ARG PROJECT_DIR=/fradrive
|
ARG PROJECT_DIR=/fradrive
|
||||||
RUN mkdir -p ${PROJECT_DIR}
|
RUN mkdir -p ${PROJECT_DIR}
|
||||||
RUN cp -r /tmp/${PROJECT_DIR}/* ${PROJECT_DIR}
|
RUN cp -r /tmp${PROJECT_DIR}/* ${PROJECT_DIR}
|
||||||
WORKDIR ${PROJECT_DIR}
|
WORKDIR ${PROJECT_DIR}
|
||||||
ENV HOME=${PROJECT_DIR}
|
ENV HOME=${PROJECT_DIR}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user