File size: 2,235 Bytes
695488b
 
 
 
 
 
 
 
 
 
 
459e702
c59a129
 
 
 
492f6d7
c433a06
e71fe95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2bb7b5d
e71fe95
2bb7b5d
e71fe95
 
 
 
 
 
df7031a
 
 
641b7b8
 
 
 
 
 
 
 
 
 
 
664e3a5
f1bd30a
 
08cddb9
 
 
 
 
 
 
d97c8ff
08cddb9
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# FROM python:3.9
#
# WORKDIR /code
#
# COPY ./requirements.txt /code/requirements.txt
#
# RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
#
# COPY . .
#
# CMD ["python", "main.py"]
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
# FROM linuxserver/code-server:latest
# USER root
# # Start code-server on container startup
# CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "."]
# FROM toandaominh1997/locust:latest

# FROM --platform=linux/amd64 ubuntu:latest as build
#
# # RUN superset fab create-admin \
# #                --username admin \
# #                --firstname Superset \
# #                --lastname Admin \
# #                --email admin@superset.com \
# #                --password admin
# RUN apt-get update && apt-get install -y build-essential libssl-dev libffi-dev python3-dev python3-pip libsasl2-dev libldap2-dev default-libmysqlclient-dev
# USER root
# RUN pip install apache-superset
# RUN pip install Pillow
# ENV FLASK_APP=superset
# ENV SUPERSET_SECRET_KEY=tonne1997
# RUN superset db upgrade
# RUN superset fab create-admin \
#                --username tonne \
#                --firstname Superset \
#                --lastname Tonne \
#                --email tonne@gmail.com \
#                --password tonne
#
# RUN superset load_examples
# CMD ["superset", "run", "-p", "7860"]
# FROM apache/superset:latest
# USER root
# ENV SUPERSET_SECRET_KEY=tonne1997
# # Set up a new user named "user" with user ID 1000
# RUN useradd -m -u 1000 user
#
# # Switch to the "user" user
# USER user
#
# # Set home to the user's home directory
# ENV HOME=/home/user \
# 	PATH=/home/user/.local/bin:$PATH
#
# WORKDIR /code
# FROM flink:scala_2.12-java11
# FROM codercom/code-server:latest
# USER root
# FROM buildkite/agent:ubuntu
# ENV BUILDKITE_AGENT_TOKEN="c6be0e8718a3894eb2aaa162566a3584461f7d42a962116595"
# CMD ["start", "--token", "c6be0e8718a3894eb2aaa162566a3584461f7d42a962116595"]


FROM ubuntu:latest
RUN apt-get update && apt-get install -y curl
RUN TOKEN="c6be0e8718a3894eb2aaa162566a3584461f7d42a962116595" bash -c "`curl -sL https://raw.githubusercontent.com/buildkite/agent/master/install.sh`"
CMD ["~/.buildkite-agent/bin/buildkite-agent", "start"]