FROM ubuntu:22.04
LABEL maintainer="Maurice Ruckman"
WORKDIR /home
RUN echo 'Acquire { http::User-Agent "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"; };' >> /etc/apt/apt.conf
## DISABLE NON-INTERACTIVE WARNING
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y apt-utils
### SET TIMEZONE
RUN apt-get update
RUN apt-get install -yq tzdata
ENV TZ="America/Los_Angeles"
## BASIC TOOLS
RUN apt-get -y update
RUN apt-get -y install
RUN apt-get -y upgrade
RUN apt-get -y dist-upgrade
RUN apt-get -y autoremove
RUN apt-get -y install wget
RUN apt-get -y install curl
RUN apt-get -y install git
RUN apt-get -y install zip
## GIT SETUP - Refer: https://github.com/michaelficarra/CoffeeScriptRedux/issues/96
RUN git config --global http.sslVerify false
RUN git config --global url."https://github.com/".insteadOf [email protected]:
RUN git config --global url."https://".insteadOf git://
## NPM AND NODE INSTALLATION
RUN apt-get -y install nodejs
RUN apt-get -y install npm
RUN npm install -g n
RUN n 16.15.1
## SETUP NGINX
RUN apt-get update
RUN apt-get -y install nginx
RUN service nginx start
COPY certs/ /etc/nginx/conf.d/
COPY proxy_ssl.conf /etc/nginx/conf.d/
RUN service nginx stop
RUN service nginx start
## ENTRY POINT
CMD ["/bin/bash"]
Content type
Image
Digest
sha256:2a2dd5cee…
Size
393.8 MB
Last updated
about 4 years ago
docker pull mruckman/ubuntu2204-react-ui:223602