Skip to content

Commit

Permalink
Dockerfile now uses alpine to build from, it installs curl as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-Keester committed Aug 23, 2023
1 parent ee12633 commit baaf1ec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
13 changes: 7 additions & 6 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# Use an official Node.js runtime as a parent image
FROM node
FROM --platform=$BUILDPLATFORM node:18.12-alpine3.16
# Set the working directory to /app
WORKDIR /app

# Set the PATH env variable
# ENV PATH="/usr/local/bin:${PATH}"
# COPY /usr/local/bin/docker /usr/local/bin/docker
# changed to most recent version!
ENV DOCKERVERSION=20.10.23
# Installs curl
RUN apk --no-cache add curl

# Update the DOCKERVERSION to the most recent version, check dates on https://download.docker.com/linux/static/stable/x86_64/
# Installs docker to the image so it can run exec commands on the backend
ENV DOCKERVERSION=24.0.5
RUN curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKERVERSION}.tgz \
&& tar xzvf docker-${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker \
&& rm docker-${DOCKERVERSION}.tgz


COPY package*.json ./

# Copy the current directory contents into the container at /app
Expand Down
7 changes: 6 additions & 1 deletion imageConfigs/grafana/grafana.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ allow_embedding = true
allow_embedding = true
[plugins]
plugins = boomtheme-panel
enable_alpha = true
enable_alpha = true
# Lets people view the grafana dashboard without needing any authentication
[auth.anonymous]
enabled = true
org_name = Main Org.
org_role = Viewer

0 comments on commit baaf1ec

Please sign in to comment.